thttpd defang Remote Buffer Overflow Vulnerability

BID:8906

Info

thttpd defang Remote Buffer Overflow Vulnerability

Bugtraq ID: 8906
Class: Boundary Condition Error
CVE: CVE-2003-0899
Remote: Yes
Local: No
Published: Oct 27 2003 12:00AM
Updated: Jul 11 2009 11:56PM
Credit: The disclosure of this issue has been credited to Joel Soderberg and Christer Oberg of Texonet.
Vulnerable: Acme thttpd 2.23 b1
+ S.u.S.E. Linux Personal 9.0
+ S.u.S.E. Linux Personal 8.2
+ SuSE Linux 8.1
Acme thttpd 2.22
Acme thttpd 2.21 b
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
Acme thttpd 2.21
Acme thttpd 2.20 c
+ SuSE Linux 8.0
Acme thttpd 2.20 b
+ SuSE Linux 7.3
Not Vulnerable: Acme thttpd 2.24

Discussion

thttpd defang Remote Buffer Overflow Vulnerability

A vulnerability has been reported in thttpd that may allow a remote attacker to execute arbitrary code on vulnerable host. The issue is reported to exist due to a lack of bounds checking by software, leading to a buffer overflow condition. The problem is reported to exist in the defang() function in libhttpd.c.

This issue may allow an attacker to gain unauthorized access to a vulnerable host. Successful exploitation of this issue may allow an attacker to execute arbitrary code in the context of the web server in order to gain unauthorized access to a vulnerable system.

thttpd versions 2.21 to 2.23b1 have been reported to be prone to this issue, however other versions may be affected as well.

Exploit / POC

thttpd defang Remote Buffer Overflow Vulnerability

A denial of service proof-of-concept has been released:

Solution / Fix

thttpd defang Remote Buffer Overflow Vulnerability

Solution:
SuSE has released an advisory (SuSE-SA:2003:044) to address this issue in SuSE Linux platforms. Affected users are advised to apply fixes as soon as possible. Further information regarding obtaining and applying these fixes can be found in the referenced advisory.

Debian has released an advisory (DSA 396-1) that addresses this issue. Please see the attached advisory for details on obtaining and applying updates.

The vendor has released a new version (thttpd 2.24) to address this issue:


Acme thttpd 2.20 b

Acme thttpd 2.20 c

Acme thttpd 2.21

Acme thttpd 2.21 b

Acme thttpd 2.22

Acme thttpd 2.23 b1

References

thttpd defang Remote Buffer Overflow Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report