search menu icon-carat-right cmu-wordmark

CERT Coordination Center

OpenSSH UseLogin option allows remote execution of commands as root

Vulnerability Note VU#40327

Original Release Date: 2001-11-05 | Last Revised: 2001-11-05

Overview

Versions of OpenSSH prior to 2.1.1 (current circa June, 2000) allow a remote attacker to execute arbitrary commands with the privileges of sshd, typically root.

Description

OpenSSH is a free implementation of versions 1 and 2 of the SSH protocol. If sshd is configured with the UseLogin option, it attempts to use login(1) to authenticate the user. However, is ssh is used to execute a command, the command is run with the privileges of sshd, typically root. UseLogin is not enabled by default.

Impact

Remote attackers can run arbitrary commands as root on systems with UseLogin enabled.

Solution

Upgrade to the latest version of OpenSSH.

Vendor Information

40327
 

OpenSSH Affected

Updated:  November 05, 2001

Status

Affected

Vendor Statement

See http://www.openbsd.org/errata27.html#uselogin

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Our thanks to Markus Friedl who reported this information.

This document was written by Shawn V Hernan.

Other Information

CVE IDs: CVE-2000-0525
Severity Metric: 31.50
Date Public: 2000-06-09
Date First Published: 2001-11-05
Date Last Updated: 2001-11-05 18:59 UTC
Document Revision: 6

Sponsored by CISA.