MTR MTR_OPTIONS environment variable buffer overflow
| mtr-options-bo (8367) |
Description:
MTR is vulnerable to a buffer overflow caused by improper bounds checking of the MTR_OPTIONS environment variable. By supplying an overly long specially-crafted string to MTR_OPTIONS, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of MTR (0.49 or later), available from the BitWizard FTP site. See References.
For Debian GNU/Linux 2.2 (potato):
Upgrade to the latest version of mtr (0.41-6 or later), as listed in DSA-124-1. See References.
References:
- BitWizard FTP site: /mtr/.
- BitWizard Web site: MTR.
- BugTraq Mailing List, Wed Mar 06 2002 - 08:41:43 CST: mtr 0.45, 0.46.
- BugTraq Mailing List, Wed Mar 06 2002 - 11:53:31 CST: Re: mtr 0.45, 0.46.
- BID-4217: MTR Buffer Overflow Vulnerability
- CVE-2002-0497: Buffer overflow in mtr 0.46 and earlier, when installed setuid root, allows local users to access a raw socket via a long MTR_OPTIONS environment variable.
- DSA-124: mtr -- buffer overflow
- OSVDB ID: 5267: mtr MTR_OPTIONS Environment Variable Overflow Raw Socket Access
Platforms Affected:
- BitWizard MTR 0.45
- BitWizard MTR 0.46
- Debian Debian Linux 2.2
Reported:
Mar 06, 2002
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
