Eterm libast conf_find_file() file name -x buffer overflow

eterm-libast-filename-bo (24303) The risk level is classified as HighHigh Risk


Eterm is vulnerable to a stack-based buffer overflow caused by improper bounds checking of file names by the conf_find_file() function. By supplying an overly long configuration file name to Eterm using the -x option, a local attacker could overflow a buffer in libast and execute arbitrary commands on the system with utmp privileges.


Gain Privileges


Upgrade to the latest version of libast (0.7 or later), available from See References.

For Debian GNU/Linux:
Refer to DSA-976-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-01-14 for patch, upgrade, or suggested workaround information. See References.


  • Eterm.Org: Downloads.
  • Rosiello Security Advisory 2006-01-23: Eterm-LibAST Advisory.
  • BID-16350: Eterm LibAST Library Local Buffer Overflow Vulnerability
  • CVE-2006-0224: Buffer overflow in Library of Assorted Spiffy Things (LibAST) 0.6.1 and earlier, as used in Eterm and possibly other software, allows local users to execute arbitrary code as the utmp user via a long -X command line argument (alternative configuration file name).
  • DSA-976: libast -- buffer overflow
  • GLSA-200601-14: LibAST: Privilege escalation
  • MDKSA-2006:029: Updated libast packages fixes buffer overflow vulnerability
  • OSVDB ID: 22735: LibAST conf_find_file() Configuration Filename Processing Overflow
  • SA18586: LibAST Configuration Filename Buffer Overflow Vulnerability

Platforms Affected:

  • Debian Debian Linux 3.0
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • Michael Jennings Eterm 0.9.2
  • Michael Jennings libast prior to 0.7


Jan 23, 2006

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