Australia's Leading Computer Emergency Response Team

ESB-2001.517 -- RHSA-2001:161-08 -- Updated OpenSSH packages available
Date: 06 December 2001
Original URL: http://www.auscert.org.au/render.html?cid=1&it=1627

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2001.517 -- RHSA-2001:161-08
                    Updated OpenSSH packages available
                              6 December 2001

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                OpenSSH
Vendor:                 Red Hat
Operating System:       Red Hat Linux 7.0
                        Red Hat Linux 7.1
                        Red Hat Linux 7.2
Platform:               Alpha
                        i386
                        IA-64
Impact:                 Root Compromise
                        Execute Arbitrary Code/Commands
Access Required:        Existing Account

- --------------------------BEGIN INCLUDED TEXT--------------------

- ---------------------------------------------------------------------
                   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.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

	http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for emergencies.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPA9wAyh9+71yA2DNAQE5uAQAhLL9q0LslylY/vSku8OYFhg9G7PMOnxG
ViawVM5ntdtxTjFpK1sKg9AxfcOy0UQgzzXQn+2FlEmCEgyimGkq5Ve1LYbM7z+j
FEWXegkdHpyHKjcwkw9XHO3/LBeNreU61Fu2owWq8ExUzRWBd8MwlHJJ27r/RI4J
87B0t0f4nOw=
=mGRz
-----END PGP SIGNATURE-----