Hanterm long command-line argument buffer overflow
| hanterm-command-line-bo (8109) |
Description:
Hanterm is vulnerable to several local buffer overflow vulnerabilities. By sending an overly long argument to hanterm using the -fn, -hfb, or -hfn command-line argument, a local attacker could overflow a buffer and execute arbitrary commands on the system with root privileges.
Consequences:
Gain Privileges
Remedy:
For FreeBSD ports collection prior to 29-May-2001:
Upgrade to the latest version of ko-hanterm (3.1.5_1 dated 2001-05-29 or later) and ko-hanterm-xf (19_1 dated 2001-05-29 or later), as listed in FreeBSD, Inc. Security Advisory FreeBSD-SA-01:41. See References.
For Debian GNU/Linux 2.2 (potato):
Upgrade to the latest version of hanterm (3.3.1p17-5.2 or later), as listed in DSA-112-1. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Thu Feb 07 2002 - 04:33:27 CST: Overflow Vulnerabilities in hanterm.
- BugTraq Mailing List, Thu Feb 07 2002 - 13:30:56 CST: another hanterm exploit.
- FreeBSD Security Advisory FreeBSD-SA-01:41: hanterm ports allow local root compromise.
- Freshmeat Web site: freshmeat.net: Project details for hanterm.
- BID-4050: Hanterm Local Buffer Overflow Vulnerability
- CVE-2002-0239: Buffer overflow in hanterm 3.3.1 and earlier allows local users to execute arbitrary code via a long string in the (1) -fn, (2) -hfb, or (3) -hfn argument.
- DSA-112: hanterm -- buffer overflow
- OSVDB ID: 14336: hanterm Multiple Command Parameter Local Overflow
- SECTRACK ID: 1001950: Hanterm Korean Language Xterm Utility Lets Local Users Compromise the System and Obtain Root Level Privileges
Platforms Affected:
- Debian Debian Linux 2.2
- FreeBSD FreeBSD
- Jake Song hanterm
- Turbolinux Turbolinux Server 6.5
Reported:
Feb 07, 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
