Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Red Hat Security Advisory: New slocate packages available to fix local group slocate compromise

Dec 20, 2000, 07:39 (0 Talkback[s])

Date: Tue, 19 Dec 2000 11:20:00 -0500
From: bugzilla@REDHAT.COM
To: BUGTRAQ@SECURITYFOCUS.COM
Subject: [RHSA-2000:128-02] New slocate packages available to fix local group slocate compromise


                   Red Hat, Inc. Security Advisory

Synopsis:          New slocate packages available to fix local group slocate compromise
Advisory ID:       RHSA-2000:128-02
Issue date:        2000-12-19
Updated on:        2000-12-19
Product:           Red Hat Linux
Keywords:          slocate heap overflow
Cross references:

1. Topic:

New slocate packages are availble for Red Hat Linux 6.x and Red Hat Linux 7. These fix a problem with the database parsing code in slocate. (slocate was not shipped with Red Hat Linux prior to version 6.0, so earlier versions are not affected.)

2. Relevant releases/architectures:
Red Hat Linux 6.0 - alpha, i386, sparc
Red Hat Linux 6.1 - alpha, i386, sparc
Red Hat Linux 6.2 - alpha, i386, sparc
Red Hat Linux 7.0 - alpha, i386

3. Problem description:

A problem existed in the slocate database parsing code. By using a carefully crafted database, a local user could overwrite some of slocate's internal structures, leading to a local group slocate compromise.

The affect of this compromise is that users could read the entire slocate database, and therefore learn the locations of files that they normally would not have permissions to locate.

Thanks to Michel Kaempf, zorgon@linuxstart.com, and Michal Zalewski for pointing out the vulnerability.

4. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

21388 - heap corruption vulnerability

6. RPMs required:

Red Hat Linux 6.0:

SRPMS:
ftp://updates.redhat.com//6.0/SRPMS/slocate-2.4-0.6.x.src.rpm

alpha:
ftp://updates.redhat.com//6.0/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com//6.0/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com//6.0/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 6.1:

SRPMS:
ftp://updates.redhat.com//6.1/SRPMS/slocate-2.4-0.6.x.src.rpm

alpha:
ftp://updates.redhat.com//6.1/alpha/slocate-2.4-0.6.x.alpha.rpm
ftp://updates.redhat.com//6.1/alpha/slocate-2.4-0.6.x.alpha.rpm
ftp://updates.redhat.com//6.1/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com//6.1/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com//6.1/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com//6.2/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com//6.2/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com//6.2/SRPMS/slocate-2.4-0.6.x.src.rpm
ftp://updates.redhat.com//6.2/SRPMS/slocate-2.4-1.src.rpm

alpha:
ftp://updates.redhat.com//6.2/alpha/slocate-2.4-0.6.x.alpha.rpm

i386:
ftp://updates.redhat.com//6.2/i386/slocate-2.4-0.6.x.i386.rpm

sparc:
ftp://updates.redhat.com//6.2/sparc/slocate-2.4-0.6.x.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com//7.0/SRPMS/slocate-2.4-1.src.rpm

alpha:
ftp://updates.redhat.com//7.0/alpha/slocate-2.4-1.alpha.rpm

i386:
ftp://updates.redhat.com//7.0/i386/slocate-2.4-1.i386.rpm

7. Verification:

MD5 sum                           Package Name

ba211d65172160c4a6cba5a65bd93f60 6.0/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9 6.0/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942 6.0/sparc/slocate-2.4-0.6.x.sparc.rpm
ba211d65172160c4a6cba5a65bd93f60 6.1/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9 6.1/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942 6.1/sparc/slocate-2.4-0.6.x.sparc.rpm
ba211d65172160c4a6cba5a65bd93f60 6.2/alpha/slocate-2.4-0.6.x.alpha.rpm
8b63c4c1fec7759f79559a616c5f15e9 6.2/i386/slocate-2.4-0.6.x.i386.rpm
eeea0298b59fdfa6e475ee732a385942 6.2/sparc/slocate-2.4-0.6.x.sparc.rpm
5ee5ec5f65e200e9d03f4d2dda43ce07 7.0/alpha/slocate-2.4-1.alpha.rpm
ba3b1c1743ec957cb8abb05818e05854 7.0/i386/slocate-2.4-1.i386.rpm
53abff41632acc6764c14ba59384cf84 6.0/SRPMS/slocate-2.4-0.6.x.src.rpm
53abff41632acc6764c14ba59384cf84 6.1/SRPMS/slocate-2.4-0.6.x.src.rpm
53abff41632acc6764c14ba59384cf84 6.2/SRPMS/slocate-2.4-0.6.x.src.rpm
2672ef24c8ca7afbcb6a327622d71c42 7.0/SRPMS/slocate-2.4-1.src.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/corp/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>

8. References:

http://www.securityfocus.com/bid/2004

Copyright(c) 2000 Red Hat, Inc.