Date: Thu, 8 Feb 2001 12:57:26 -0800
From: [email protected]
To: [email protected]Subject: [TL-Security-Announce] slocate-2.3-2 TLSA2001002-1
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
___________________________________________________________________________
TurboLinux Security Announcement
Vulnerable Packages: slocate-2.3-1 and earlier
Date: 02/02/2001 5:00 PDT
Affected TurboLinux versions:TL 6.1 WorkStation,
All TurboLinux versions
6.0.5 and earlier
TurboLinux Advisory ID#: TLSA2001002-1
Credits: Vulnerability discovered by zorgon <[email protected]>
Detailed information and exploit posted to Bugtraq by
Michel Kaempf<[email protected]>.
___________________________________________________________________________
A security hole was discovered in the package mentioned above.
Please update the package in your installation as soon as possible.
___________________________________________________________________________
1. Problem Summary
There is a heap-corruption vulnerability existing in slocate. It can
compromise slocate's ability to maintain an index of the entire file-
system as well as its ability to read user-specified databases.
2. Impact(Based on the BugTraq advisory on securityfocus.com, id#2004)
Secure Locate maintains an index of the entire filesystem, including
files only visible by root. The slocate binary is setgid "slocate"
so it can read this index. The heap-corruption vulnerability may com-
promise disclosure of these files if exploited.
When running slocate, users are able to specify a database of their own
as a commandline parameter. A subtle vulnerability exists in slocate's
reading of these user-supplied databases that may allow a local user to
execute arbitrary code with effective gid slocate.
When reading the contents of the database file, slocate initially reads
a value from the file that is supposed to indicate the offset in a
malloc()'d buffer at which the data is to be written. If this number ex-
ceeds the size of the allocated buffer, the bytes from the file will be
written to the memory following the buffer, the malloc structure.
As a result, it is possible for a local user to overwrite internal malloc
memory structures on the heap with arbitrary data. Attackers can replace
a legitimate malloc structure with a malicious one designed to cause
other areas of memory to be overwritten.
3. Solution
Update the package from our ftp server by running the following command:
rpm -Uvh --nodeps --force ftp_path_to_filename
Where ftp_path_to_filename is the following:
ftp://ftp.turbolinux.com/pub/updates/6.0/security/slocate-2.3-2.i386.rpm
The source RPM can be downloaded here:
ftp://ftp.turbolinux.com/pub/updates/6.0/SRPMS/slocate-2.3-2.src.rpm
**Note: You must rebuild and install the RPM if you choose to download
and install the SRPM. Simply installing the SRPM alone WILL NOT CLOSE
THE SECURITY HOLE.
Please verify the MD5 checksums of the updates before you install:
MD5 sum Package Name
---------------------------------------------------------------------------
2218c7eff5c4541202417b78238b3174 slocate-2.3-2.i386.rpm
c7dc22a05bb20437ced73696fec04188 slocate-2.3-2.src.rpm
___________________________________________________________________________
These packages are GPG signed by Turbolinux for security. Our key
is available here:
http://www.turbolinux.com/security/tlgpgkey.asc
To verify a package, use the following command:
rpm --checksig name_of_rpm
To examine only the md5sum, use the following command:
rpm --checksig --nogpg name_of_rpm
**Note: Checking GPG keys requires RPM 3.0 or higher.
___________________________________________________________________________
You can find more updates on our ftp server:
ftp://ftp.turbolinux.com/pub/updates/6.0/security/ for TL6.0 Workstation
and Server security updates
ftp://ftp.turbolinux.com/pub/updates/4.0/security/ for TL4.0 Workstation
and Server security updates
Our webpage for security announcements:
http://www.turbolinux.com/security
If you want to report vulnerabilities, please contact:
[email protected]
___________________________________________________________________________
Subscribe to the TurboLinux Security Mailing lists:
TL-security - A moderated list for discussing security issues
TurboLinux products.
Subscribe at http://www.turbolinux.com/mailman/listinfo/tl-security
TL-security-announce - An announce-only mailing list for security updates
and alerts.
Subscribe at:
http://www.turbolinux.com/mailman/listinfo/tl-security-announce
--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6gwg27eR7bnHQKeQRAjo8AJ9ju/r8cqFCqDTBkKdClZcXFPWa/QCfeYWH
0OuGSIWFSQpPPFFCjO5+7Go=
=F/+A
-----END PGP SIGNATURE-----
--Dxnq1zWXvFF0Q93v--
_______________________________________________
TL-Security-Announce mailing list
[email protected]http://www.turbolinux.com/mailman/listinfo/tl-security-announce