SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Security)  >   OpenSSH Vendors:   OpenSSH.org
(Red Hat Issues Fix) OpenSSH UseLogin Environment Variable Bug Lets Local Users Execute Commands and Gain Root Access
SecurityTracker Alert ID:  1002900
SecurityTracker URL:  http://securitytracker.com/id/1002900
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 5 2001
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.0.1 and prior
Description:   A vulnerability was reported in OpenSSH that may allow a local user to cause arbitrary commands to be executed with root level privileges, giving the user root level access on the system.

The vulnerability reportedly resides in the UseLogin option of OpenSSH. This option is apparently not part of the default configuration. A local user can pass environment variables (e.g. LD_PRELOAD) to the login process, which is run with the same privilege as sshd (typically this is a root level process). This could allow a local user to cause arbitrary commands to be executed with root level privileges, giving the local user root access on the system.

Impact:   A local user could cause arbitrary commands to be executed with root level privileges, giving the local user root access on the system.
Solution:   The vendor has released a fix:

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/openssh-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/openssh-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-clients-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-server-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-askpass-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-askpass-gnome-2.9p2-11.7.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/openssh-2.9p2-12.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/openssh-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-clients-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-server-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-askpass-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-askpass-gnome-2.9p2-12.i386.rpm



The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
a404df85b0bd8ee13544f27d8bc80e41 7.0/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm
9edc7fc8d4db042c391c9b569f06bbc6 7.0/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
e568631c7a7e0d4b73fe27053398cbe3 7.0/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
aa9fe70df6ea2fabdc7bcbb6ee18f77e 7.0/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm
d6c8d8b029358c1035d063688ee9a29f 7.0/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
a729bd387061f3fa437dfb7bcc44fc47 7.0/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
9032ed606510cb0647015ec25bcb8a65 7.0/en/os/i386/openssh-2.9p2-11.7.i386.rpm
388f0ab300dd833c565381a161a2d469 7.0/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
142f92df28c2ec27eafb56313190927e 7.0/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm
a8e73953e02df3277479a45c89284ad6 7.0/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
6b87c6cb013cd3303432f1bf45326735 7.0/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
a404df85b0bd8ee13544f27d8bc80e41 7.1/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm
9edc7fc8d4db042c391c9b569f06bbc6 7.1/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
e568631c7a7e0d4b73fe27053398cbe3 7.1/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
aa9fe70df6ea2fabdc7bcbb6ee18f77e 7.1/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm
d6c8d8b029358c1035d063688ee9a29f 7.1/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
a729bd387061f3fa437dfb7bcc44fc47 7.1/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
9032ed606510cb0647015ec25bcb8a65 7.1/en/os/i386/openssh-2.9p2-11.7.i386.rpm
388f0ab300dd833c565381a161a2d469 7.1/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
142f92df28c2ec27eafb56313190927e 7.1/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm
a8e73953e02df3277479a45c89284ad6 7.1/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
6b87c6cb013cd3303432f1bf45326735 7.1/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
093fff2a546589e129afdf984b419173 7.1/en/os/ia64/openssh-2.9p2-11.7.ia64.rpm
a3531573d0dbe68ed548cff3f5de023c 7.1/en/os/ia64/openssh-askpass-2.9p2-11.7.ia64.rpm
8cc6096f248bb13ef9eec2b31a71ccc7 7.1/en/os/ia64/openssh-askpass-gnome-2.9p2-11.7.ia64.rpm
e842d4ba17ec0889e54730ad33e722e5 7.1/en/os/ia64/openssh-clients-2.9p2-11.7.ia64.rpm
b8c3f281c2c7be14f71994d20205723b 7.1/en/os/ia64/openssh-server-2.9p2-11.7.ia64.rpm
5f12c077bf40570dac9b950d83f1e960 7.2/en/os/SRPMS/openssh-2.9p2-12.src.rpm
1a11b675b6af99f9edffeef639825916 7.2/en/os/i386/openssh-2.9p2-12.i386.rpm
850879609a667619c7e952fadca3063c 7.2/en/os/i386/openssh-askpass-2.9p2-12.i386.rpm
99620e435ce9d69c851e10695828eb80 7.2/en/os/i386/openssh-askpass-gnome-2.9p2-12.i386.rpm
ff3f8671339645ccbdfa65a03e4b4d09 7.2/en/os/i386/openssh-clients-2.9p2-12.i386.rpm
199895daa920eac36c2567ced3c70e9b 7.2/en/os/i386/openssh-server-2.9p2-12.i386.rpm

See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.

Vendor URL:  www.openssh.org/ (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Dec 4 2001 OpenSSH UseLogin Environment Variable Bug Lets Local Users Execute Commands and Gain Root Access



 Source Message Contents

Subject:  [RHSA-2001:161-08] Updated OpenSSH packages available


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated OpenSSH packages available
Advisory ID:       RHSA-2001:161-08
Issue date:        2001-12-03
Updated on:        2001-12-04
Product:           Red Hat Linux
Keywords:          openssh uselogin
Cross references:  
Obsoletes:         RHSA-2001:154
---------------------------------------------------------------------

1. Topic:

Updated OpenSSH packages are now available for Red Hat Linux 7, 7.1, and
7.2.  These packages fix a vulnerability which exists when a
server is configured with the "UseLogin" option.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386

3. Problem description:

When the "UseLogin" option is enabled in OpenSSH, a malicious user who
authenticates using key-based authentication methods can influence the
environment variables passed to the login process.  This could
allow the user to execute arbitrary code with superuser privileges.
In Red Hat Linux the OpenSSH server has the "UseLogin" option disabled
by default. Therefore, it is not vulnerable unless the system administrator
has changed this setting.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2001-0872 to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/openssh-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/openssh-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-clients-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-server-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-askpass-2.9p2-11.7.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/openssh-askpass-gnome-2.9p2-11.7.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/openssh-2.9p2-12.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/openssh-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-clients-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-server-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-askpass-2.9p2-12.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/openssh-askpass-gnome-2.9p2-12.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
a404df85b0bd8ee13544f27d8bc80e41 7.0/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm
9edc7fc8d4db042c391c9b569f06bbc6 7.0/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
e568631c7a7e0d4b73fe27053398cbe3 7.0/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
aa9fe70df6ea2fabdc7bcbb6ee18f77e 7.0/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm
d6c8d8b029358c1035d063688ee9a29f 7.0/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
a729bd387061f3fa437dfb7bcc44fc47 7.0/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
9032ed606510cb0647015ec25bcb8a65 7.0/en/os/i386/openssh-2.9p2-11.7.i386.rpm
388f0ab300dd833c565381a161a2d469 7.0/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
142f92df28c2ec27eafb56313190927e 7.0/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm
a8e73953e02df3277479a45c89284ad6 7.0/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
6b87c6cb013cd3303432f1bf45326735 7.0/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
a404df85b0bd8ee13544f27d8bc80e41 7.1/en/os/SRPMS/openssh-2.9p2-11.7.src.rpm
9edc7fc8d4db042c391c9b569f06bbc6 7.1/en/os/alpha/openssh-2.9p2-11.7.alpha.rpm
e568631c7a7e0d4b73fe27053398cbe3 7.1/en/os/alpha/openssh-askpass-2.9p2-11.7.alpha.rpm
aa9fe70df6ea2fabdc7bcbb6ee18f77e 7.1/en/os/alpha/openssh-askpass-gnome-2.9p2-11.7.alpha.rpm
d6c8d8b029358c1035d063688ee9a29f 7.1/en/os/alpha/openssh-clients-2.9p2-11.7.alpha.rpm
a729bd387061f3fa437dfb7bcc44fc47 7.1/en/os/alpha/openssh-server-2.9p2-11.7.alpha.rpm
9032ed606510cb0647015ec25bcb8a65 7.1/en/os/i386/openssh-2.9p2-11.7.i386.rpm
388f0ab300dd833c565381a161a2d469 7.1/en/os/i386/openssh-askpass-2.9p2-11.7.i386.rpm
142f92df28c2ec27eafb56313190927e 7.1/en/os/i386/openssh-askpass-gnome-2.9p2-11.7.i386.rpm
a8e73953e02df3277479a45c89284ad6 7.1/en/os/i386/openssh-clients-2.9p2-11.7.i386.rpm
6b87c6cb013cd3303432f1bf45326735 7.1/en/os/i386/openssh-server-2.9p2-11.7.i386.rpm
093fff2a546589e129afdf984b419173 7.1/en/os/ia64/openssh-2.9p2-11.7.ia64.rpm
a3531573d0dbe68ed548cff3f5de023c 7.1/en/os/ia64/openssh-askpass-2.9p2-11.7.ia64.rpm
8cc6096f248bb13ef9eec2b31a71ccc7 7.1/en/os/ia64/openssh-askpass-gnome-2.9p2-11.7.ia64.rpm
e842d4ba17ec0889e54730ad33e722e5 7.1/en/os/ia64/openssh-clients-2.9p2-11.7.ia64.rpm
b8c3f281c2c7be14f71994d20205723b 7.1/en/os/ia64/openssh-server-2.9p2-11.7.ia64.rpm
5f12c077bf40570dac9b950d83f1e960 7.2/en/os/SRPMS/openssh-2.9p2-12.src.rpm
1a11b675b6af99f9edffeef639825916 7.2/en/os/i386/openssh-2.9p2-12.i386.rpm
850879609a667619c7e952fadca3063c 7.2/en/os/i386/openssh-askpass-2.9p2-12.i386.rpm
99620e435ce9d69c851e10695828eb80 7.2/en/os/i386/openssh-askpass-gnome-2.9p2-12.i386.rpm
ff3f8671339645ccbdfa65a03e4b4d09 7.2/en/os/i386/openssh-clients-2.9p2-12.i386.rpm
199895daa920eac36c2567ced3c70e9b 7.2/en/os/i386/openssh-server-2.9p2-12.i386.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=100747128105913
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0872


Copyright(c) 2000, 2001 Red Hat, Inc.



_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, SecurityGlobal.net LLC