Linux dynamic linkers "ld.so" and "ld-linux.so" buffer overflow
| dynamic-linkers-bo (7219) |
Description:
The 'ld.so' and 'ld-linux.so' dynamic linkers in some Linux distributions are vulnerable to a buffer overflow when reporting errors. By forcing an error while calling a dynamically linked setuid program with a long program name (argv[0]), a local attacker can overflow a buffer and execute arbitrary code on the system. An attacker can use this vulnerability to gain root privileges on the system.
Platforms Affected:
- Linux, Kernel
- SCO, Caldera OpenLinux 1.1
Remedy:
For ld.so/ld-linux.so versions prior to 1.9.5:
Upgrade to the latest version of ld.so/ld-linux.so (1.9.5 or later), as listed in BugTraq Mailing List posting dated Feb 4 1998 10:20AM. See References.
For Caldera OpenLinux 1.1:
Upgrade to the latest ld.so package (1.7.14-5 or later) as listed in Caldera Systems, Inc. Security Advisory SA-1997.11. See References.
— OR —
Apply the patch for this vulnerability, as listed in KSR[T] Advisory #2.
Consequences:
Gain Privileges
References:
- BugTraq Mailing List, Tue, 22 Jul 1997 08:47:43 -0500, ld.so vulnerability at http://archives.neohapsis.com/archives/bugtraq/1997_3/0120.html.
- BugTraq Mailing List, Wed, 4 Feb 1998 17:20:39 +0100, An old ld-linux.so hole at http://archives.neohapsis.com/archives/bugtraq/1998_1/0158.html.
- Caldera International, Inc. Security Advisory SA-1997.11, Vulnerability in ld.so at ftp://ftp.caldera.com/pub/security/OpenLinux/SA-1997.11.txt.
- KSR[T] Advisory #2, ld.so at http://marc.theaimsgroup.com/?l=bugtraq&m=87602661419318&w=2.
- CVE-1999-1182: Buffer overflow in run-time linkers (1) ld.so or (2) ld-linux.so for Linux systems allows local users to gain privileges by calling a setuid program with a long program name (argv[0]) and forcing ld.so/ld-linux.so to report an error.
Reported:
Jul 17, 1997
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
