Users login

Create an account »

JOIN XATRIX

Users login

Home » Security Advisories» Red Hat » Updated utempter package fixes vulnerability

Updated utempter package fixes vulnerability

Steve Grubb discovered a flaw in Utempter which allowed device names containing directory traversal sequences such as '/../'. In combination with an application that trusts the utmp or wtmp files, this could allow a local attacker the ability to overwrite privileged files using a symlink.

  • Vendor: Red Hat
  • Vendor ID: RHSA-2004:175-01
  • Date: April 30, 2004



Red Hat Security Advisory

Synopsis: Updated utempter package fixes vulnerability
Advisory ID: RHSA-2004:175-01
Issue date: 2004-04-30
Updated on: 2004-04-30
Product: Red Hat Linux
Keywords:
Cross references:
Obsoletes:
CVE Names: CAN-2004-0233
- ---------------------------------------------------------------------

1. Topic:

An updated utempter package that fixes a potential symlink vulnerability is
now available.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386

3. Problem description:

Utempter is a utility that allows terminal applications such as xterm and
screen to update utmp and wtmp without requiring root privileges.

Steve Grubb discovered a flaw in Utempter which allowed device names
containing directory traversal sequences such as '/../'. In combination
with an application that trusts the utmp or wtmp files, this could allow a
local attacker the ability to overwrite privileged files using a symlink.

Users should upgrade to this new version of utempter, which fixes this
vulnerability.

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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate. The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. RPMs required:

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/utempter-0.5.5-2.RHL9.0.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/utempter-0.5.5-2.RHL9.0.i386.rpm



6. Verification:

MD5 sum Package Name
- --------------------------------------------------------------------------

b7f13df830c3f64eef6c6895edfb3b1f 9/en/os/SRPMS/utempter-0.5.5-2.RHL9.0.src.rpm
b207cd5661c7d687c3503399ce3bb611 9/en/os/i386/utempter-0.5.5-2.RHL9.0.i386.rpm

These packages are GPG signed by Red Hat for security. Our key is
available from https://www.redhat.com/security/team/key.html

You can verify each package with the following command:

rpm --checksig -v

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:

md5sum


7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0233

8. Contact:

The Red Hat security contact is [email protected]>. More contact
details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »