Red Hat Linux General Security Advisory

 
Red Hat, Inc. Security Advisory
Synopsis esound contains a race condition

Advisory ID RHSA-2000:077-03

Issue Date 2000-10-06

Updated On 2000-10-06

Product Red Hat Linux

Keywords esound security esd socket Gnome

Cross References N/A



1. Topic:

Esound, the Gnome sound server, contains a race condition that a malicious
user could exploit to change permissions of any file owned by the esound
user.

2. Problem description:

Esound, the sound daemon used for Gnome, creates a world-writable
directory, /tmp/.esd. This directory is owned by the user running esound,
and is used to store a socket which is used by programs connecting to the
sound server. During startup, this socket's permissions are adjusted. An
attacker on the system can theoretically create a symbolic link, and cause
any file or directory owned by the user running esound to be made
world writable.

The new packages fixes this race condition.

3. Bug IDs fixed: (see bugzilla for more information)

N/A -

4. Relevant releases/architectures:

Red Hat Linux 6.0 - i386, alpha, sparc
Red Hat Linux 6.1 - i386, alpha, sparc
Red Hat Linux 6.2 - i386, alpha, sparc
Red Hat Linux 6.2EE - i386, alpha, sparc
Red Hat Linux 7.0 - i386
Red Hat Linux 7.0J - i386

5. RPMs required:

Red Hat Linux 6.x:

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/esound-0.2.20-0.alpha.rpm
ftp://updates.redhat.com/6.2/en/os/alpha/esound-devel-0.2.20-0.alpha.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/esound-0.2.20-0.sparc.rpm
ftp://updates.redhat.com/6.2/en/os/sparc/esound-devel-0.2.20-0.sparc.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/esound-0.2.20-0.i386.rpm
ftp://updates.redhat.com/6.2/en/os/i386/esound-devel-0.2.20-0.i386.rpm

sources:
ftp://updates.redhat.com/6.2/en/os/SRPMS/esound-0.2.20-0.src.rpm

Red Hat Linux 7.0:

i386:
ftp://updates.redhat.com/7.0/en/os/i386/esound-0.2.20-1.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/esound-devel-0.2.20-1.i386.rpm

sources:
ftp://updates.redhat.com/7.0/en/os/SRPMS/esound-0.2.20-1.src.rpm

6. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

All active Gnome sessions should also be restarted after the upgrade is
applied.

7. Verification:

MD5 sum                           Package Name
-------------------------------------------------------------------------
4f7a81fe6b7f5a419272659b92d1dfc1  6.2/en/os/SRPMS/esound-0.2.20-0.src.rpm
648746086daa7bbc6bef00697e62bf51  6.2/en/os/alpha/esound-0.2.20-0.alpha.rpm
8a7dbf7dabbd7d9ca2861c1ecf2b2d5f  6.2/en/os/alpha/esound-devel-0.2.20-0.alpha.rpm
962fa1129804f2d8470e1767a352f77f  6.2/en/os/i386/esound-0.2.20-0.i386.rpm
784ec77026228d31d823e619c1de78d8  6.2/en/os/i386/esound-devel-0.2.20-0.i386.rpm
2127fdd7654b80506952dce08c3f5014  6.2/en/os/sparc/esound-0.2.20-0.sparc.rpm
0c191eee05a89dc0d12b3ca4981d2353  6.2/en/os/sparc/esound-devel-0.2.20-0.sparc.rpm
24f8e1b106500565e8426ad96150a001  7.0/en/os/SRPMS/esound-0.2.20-1.src.rpm
a61209acb87ed7f4fa5b1d63d161c85d  7.0/en/os/i386/esound-0.2.20-1.i386.rpm
6b326c66d570ee59eda7c2daf0ab4721  7.0/en/os/i386/esound-devel-0.2.20-1.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/about/contact.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

Note that you need RPM >= 3.0 to check GnuPG keys.

8. References:

BugTraq ID: 1659 (http://www.securityfocus.com/bid/1659)