RedHat: 'uuxqt' Escalated privilges vulnerability
Posted by LinuxSecurity.com Team   
RedHat Linux uuxqt in Taylor UUCP package does not properly remove dangerous longoptions, which allows local users to gain uid and gid uucp privileges by calling uux and specifying an alternate configuration file with the--config option.

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

Synopsis:          The uuxqt utility can be used to execute arbitrary commands as uucp.uucp
Advisory ID:       RHSA-2001:165-08
Issue date:        2001-12-06
Updated on:        2002-01-15
Product:           Red Hat Linux
Keywords:          uucp exploit uuxqt
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

uuxqt in Taylor UUCP package does not properly remove dangerous long
options, which allows local users to gain uid and gid uucp privileges by 
calling uux and specifying an alternate configuration file with the
--config option.

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:

Please note Red Hat Linux 7.2 is not vulnerable to this bug.

Please also note that Red Hat Linux 7.2 uses a different locking scheme to
previous versions, and so the 7.2 packages should not be applied to Red Hat
Linux 7.0 or 7.1 systems.  Use the packages from this errata instead.

Conversely, the packages from this errata should not be applied to
a Red Hat Linux 7.2 system

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2001-0873 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.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/os/SRPMS/uucp-1.06.1-31.6x.src.rpm

alpha: 
ftp://updates.Red Hat.com/6.2/en/os/alpha/uucp-1.06.1-31.6x.alpha.rpm

i386: 
ftp://updates.Red Hat.com/6.2/en/os/i386/uucp-1.06.1-31.6x.i386.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/en/os/sparc/uucp-1.06.1-31.6x.sparc.rpm

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/uucp-1.06.1-31.7.1.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/os/alpha/uucp-1.06.1-31.7.1.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/os/i386/uucp-1.06.1-31.7.1.i386.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/uucp-1.06.1-31.7.1.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.1/en/os/alpha/uucp-1.06.1-31.7.1.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/uucp-1.06.1-31.7.1.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.1/en/os/ia64/uucp-1.06.1-31.7.1.ia64.rpm

Red Hat Linux 7.2:

SRPMS: 
ftp://updates.Red Hat.com/7.2/en/os/SRPMS/uucp-1.06.1-32.src.rpm

i386: 
ftp://updates.Red Hat.com/7.2/en/os/i386/uucp-1.06.1-32.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.2/en/os/ia64/uucp-1.06.1-32.ia64.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
ad99fe81ef219654509bed11a3d1d22a 6.2/en/os/SRPMS/uucp-1.06.1-31.6x.src.rpm
0f1100a60099c2c9e61dc8cfa81e8f74 6.2/en/os/alpha/uucp-1.06.1-31.6x.alpha.rpm
ca8e4e44be51262bcc942a2742b207a4 6.2/en/os/i386/uucp-1.06.1-31.6x.i386.rpm
0b3d52c4e33787746b4d22832dde9dd3 6.2/en/os/sparc/uucp-1.06.1-31.6x.sparc.rpm
315617605947efe0e7ac3f6ad7e9baac 7.0/en/os/SRPMS/uucp-1.06.1-31.7.1.src.rpm
88c4667b09f2270db30e551950fe015a 7.0/en/os/alpha/uucp-1.06.1-31.7.1.alpha.rpm
349267562cec736d6d24429a259cd296 7.0/en/os/i386/uucp-1.06.1-31.7.1.i386.rpm
315617605947efe0e7ac3f6ad7e9baac 7.1/en/os/SRPMS/uucp-1.06.1-31.7.1.src.rpm
88c4667b09f2270db30e551950fe015a 7.1/en/os/alpha/uucp-1.06.1-31.7.1.alpha.rpm
349267562cec736d6d24429a259cd296 7.1/en/os/i386/uucp-1.06.1-31.7.1.i386.rpm
049a28c7101a96b5a298d66fbb912237 7.1/en/os/ia64/uucp-1.06.1-31.7.1.ia64.rpm
8bc3e57f6436af2ea372712532580442 7.2/en/os/SRPMS/uucp-1.06.1-32.src.rpm
57c87d55396721e910fe89cf43bacac1 7.2/en/os/i386/uucp-1.06.1-32.i386.rpm
705756177aaf2719da845e666175c8b4 7.2/en/os/ia64/uucp-1.06.1-32.ia64.rpm
 

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

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

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 

8. References:
 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0873 
http://www.securityfocus.com/bid/3312


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