thttpd command file buffer overflow

thttpd-command-file-bo (25216) The risk level is classified as HighHigh Risk

Description:

thttpd is vulnerable to a buffer overflow, caused by improper bounds checking of user supplied input in a command line argument or a long line in a file. By sending an overly long command line argument of a long line in a file>, a local attacker could overflow a buffer and execute arbitrary code on the system.


Consequences:

Gain Privileges

Remedy:

No remedy available as of September 1, 2014.

References:

  • BugTraq Mailing List, Sun Mar 05 2006 - 14:53:43 CST: htpasswd bufferoverflow and command execution in thttpd-2.25b..
  • thttpd Web site: thttpd.
  • BID-16972: Acme Labs thttpd HTPasswd Multiple Vulnerabilities
  • CVE-2006-1078: Multiple buffer overflows in htpasswd, as used in Acme thttpd 2.25b, and possibly other products such as Apache, might allow local users to gain privileges via (1) a long command line argument and (2) a long line in a file. NOTE: since htpasswd is normally installed as a non-setuid program, and the exploit is through command line options, perhaps this issue should not be included in CVE. However, if there are some typical or recommended configurations that use htpasswd with sudo privileges, or common products that access htpasswd remotely, then perhaps it should be included.
  • OSVDB ID: 23828: thttpd htpasswd Multiple Local Overflows

Platforms Affected:

  • ACME thttpd 2.25b

Reported:

Mar 05, 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