Linux mount/umount long pathname buffer overflow
| mount-umount-pathname-bo (7156) |
Description:
The Linux util package is vulnerable to a buffer overflow in the mount/umount command, caused by improper bounds checking of user input. By executing mount/umount with a long relative pathname, a local attacker can overflow a buffer and execute arbitrary commands on the system with root privileges.
Consequences:
Gain Privileges
Remedy:
For SuSE Linux 6.0, 6.1, 6.2, and 6.3:
Upgrade to the latest version of util (2.10f-4 or later), as listed in SuSE Security Announcement #39. See References.
For Caldera OpenLinux Desktop 2.3:
Upgrade to the latest version of util-linux (2.9s-5 or later), as listed in Caldera Systems, Inc. Security Advisory CSSA-2000-002.0. See References.
For Caldera OpenLinux eServer 2.3:
Upgrade to the latest version of util-linux (2.9s-5S or later), as listed in Caldera Systems, Inc. Security Advisory CSSA-2000-002.0. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Caldera International, Inc. Security Advisory CSSA-2000-002.0: Buffer overflow in mount/umount.
- SuSE Security Announcement #39: util < 2.10f.
- CVE-2000-0218: Buffer overflow in Linux mount and umount allows local users to gain root privileges via a long relative pathname.
- OSVDB ID: 6980: Linux mount Long Relative Path Overflow
- OSVDB ID: 7004: Linux umount Long Relative Path Overflow
Platforms Affected:
- Kernel util-linux prior to 2.10f
- SCO Caldera OpenLinux 2.3
- SUSE SuSE Linux 6.0
- SUSE SuSE Linux 6.1
- SUSE SuSE Linux 6.2
- SUSE SuSE Linux 6.3
Reported:
Feb 10, 2000
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 (IBM 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.
For corrections or additions please email xforce@iss.net
