Hanterm long command-line argument buffer overflow

hanterm-command-line-bo (8109) The risk level is classified as HighHigh Risk


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.


Gain Privileges


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.


Platforms Affected:

  • Debian Debian Linux 2.2
  • FreeBSD FreeBSD
  • Jake Song hanterm
  • Turbolinux Turbolinux Server 6.5


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

Return to the main page