-----BEGIN PGP SIGNED MESSAGE-----

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

                     ESB-2002.230 -- RHSA-2002:065-13
              Updated sharutils package fixes uudecode issue
                                15 May 2002

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

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

Product:                sharutils
Vendor:                 Red Hat
Operating System:       Red Hat Linux 6.2
                        Red Hat Linux 7.0
                        Red Hat Linux 7.1
                        Red Hat Linux 7.2
Platform:               Alpha
                        i386
                        IA-64
                        SPARC
Impact:                 Increased Privileges
                        Overwrite Arbitrary Files
Access Required:        Existing Account

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

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

Synopsis:          Updated sharutils package fixes uudecode issue
Advisory ID:       RHSA-2002:065-13
Issue date:        2002-04-16
Updated on:        2002-05-14
Product:           Red Hat Linux
Keywords:          fifo symlink pipe output file handling uudecode
Cross references:  
Obsoletes:         
- ---------------------------------------------------------------------

1. Topic:

Updated packages for sharutils are available which fix potential privilege
escalation using the uudecode utility.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386, ia64

3. Problem description:

The sharutils package contains a set of tools for encoding and decoding
packages of files in binary or text format.

The uudecode utility would create an output file without checking to see if  
it was about to write to a symlink or a pipe.  If a user uses uudecode to
extract data into open shared directories, such as /tmp, this vulnerability 
could be used by a local attacker to overwrite files or lead to privilege
escalation.
 
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0178 to this issue.

Users should update to these errata sharutils packages which contain a
version of uudecode that has been patched to check for an existing pipe or
symlink output file.

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 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/sharutils-4.2.1-2.6.x.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/sharutils-4.2.1-2.6.x.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/sharutils-4.2.1-2.6.x.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/sharutils-4.2.1-2.6.x.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/sharutils-4.2.1-8.7.x.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/sharutils-4.2.1-8.7.x.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/sharutils-4.2.1-8.7.x.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/sharutils-4.2.1-8.7.x.ia64.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
12f79cea5e757283428bfd5e7b0bc564 6.2/en/os/SRPMS/sharutils-4.2.1-2.6.x.src.rpm
e8af0b8d4a868cfdca38a423f58fdf12 6.2/en/os/alpha/sharutils-4.2.1-2.6.x.alpha.rpm
fb407a76a64f1ea713ed386b8201dcc8 6.2/en/os/i386/sharutils-4.2.1-2.6.x.i386.rpm
d878b93bb7fc4fe311f2bcdd94271baf 6.2/en/os/sparc/sharutils-4.2.1-2.6.x.sparc.rpm
230f45ad2b7e945fcf69c61e552b0aa7 7.0/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm
79e971f91f745358513faf93c8ac16bf 7.0/en/os/alpha/sharutils-4.2.1-8.7.x.alpha.rpm
38d89d89bb513d216b1a2a954be6d07b 7.0/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm
230f45ad2b7e945fcf69c61e552b0aa7 7.1/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm
79e971f91f745358513faf93c8ac16bf 7.1/en/os/alpha/sharutils-4.2.1-8.7.x.alpha.rpm
38d89d89bb513d216b1a2a954be6d07b 7.1/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm
4f9adbdbff849ee05d718e15121bafb0 7.1/en/os/ia64/sharutils-4.2.1-8.7.x.ia64.rpm
230f45ad2b7e945fcf69c61e552b0aa7 7.2/en/os/SRPMS/sharutils-4.2.1-8.7.x.src.rpm
38d89d89bb513d216b1a2a954be6d07b 7.2/en/os/i386/sharutils-4.2.1-8.7.x.i386.rpm
4f9adbdbff849ee05d718e15121bafb0 7.2/en/os/ia64/sharutils-4.2.1-8.7.x.ia64.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://www.aerasec.de/security/index.html?id=ae-200204-033&lang=en
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0178


Copyright(c) 2000, 2001, 2002 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

iQCVAwUBPOJNUyh9+71yA2DNAQFqrQP+I1aLJnoxKL8uBodrFmfKN7VmC9f55hac
cJmzoeNfTUSKSKjhYEKgJQnPq30xMD5d17JjKFZq9QisKGoQXHBOHlXWvo+xpIMb
mw13YP4gnuwrlt09nsv2RPcbTsFA2C2YQoEOUXb4EnEOzyHqtGVy/x/MDjPg+nDf
87A//Bh1TCw=
=mHHt
-----END PGP SIGNATURE-----