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 Acme thttpd 2.22 Acme thttpd 2.21 b Acme thttpd 2.21 Acme thttpd 2.20 c Acme thttpd 2.20 b |
| 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.
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:
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
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.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz -
SuSE thttpd-2.20b-112.ppc.rpm
ftp://ftp.suse.com/pub/suse/ppc/update/7.3/n1/thttpd-2.20b-112.ppc.rpm -
SuSE thttpd-2.20b-175.i386.rpm
ftp://ftp.suse.com/pub/suse/i386/update/7.3/n1/thttpd-2.20b-175.i386.r pm
Acme thttpd 2.20 c
-
Acme thttpd-2.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz -
SuSE thttpd-2.20c-98.i386.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.0/n4/thttpd-2.20c-98.i386.pa tch.rpm -
SuSE thttpd-2.20c-98.i386.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.0/n4/thttpd-2.20c-98.i386.rp m
Acme thttpd 2.21
-
Acme thttpd-2.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz
Acme thttpd 2.21 b
-
Acme thttpd-2.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz
Acme thttpd 2.22
-
Acme thttpd-2.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz
Acme thttpd 2.23 b1
-
Acme thttpd-2.24.tar.gz
http://www.acme.com/software/thttpd/thttpd-2.24.tar.gz -
SuSE thttpd-2.23beta1-163.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/thttpd-2.23beta1- 163.i586.patch.rpm -
SuSE thttpd-2.23beta1-164.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/thttpd-2.23beta1- 164.i586.patch.rpm -
SuSE thttpd-2.23beta1-165.i586.patch.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/thttpd-2.23beta1- 165.i586.patch.rpm -
SuSE thttpd-2.23beta1-163.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/thttpd-2.23beta1- 163.i586.rpm -
SuSE thttpd-2.23beta1-164.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/thttpd-2.23beta1- 164.i586.rpm -
SuSE thttpd-2.23beta1-165.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/thttpd-2.23beta1- 165.i586.rpm