Title: thttpd Basic Authentication Buffer Overflow Vulnerability
Severity: MODERATE
Description:
thttpd is a web server product designed to be small, fast and secure.
Basic Authentication is a feature used by web servers to require remote users to authenticate with a password before being allowed to view certain files. thttpd may support basic authentication, which must be enabled at compile time. By default, basic authentication is enabled.
If thttpd attempts to authenticate a request submitted with base64 encoding, it must decode the information into a buffer. While boundary checking is done on this buffer, there is an off-by-one vulnerability. As a result, a single null character may be written past the end of the buffer, corrupting the stack. Due to the position of the relevant buffer, this write will most likely corrupt part of another local data structure.
Due to the position of the relevant buffer on the stack, it is not believed that this could lead to execution of arbitrary code. Exploitation of this vulnerability has the potential to lead to erratic behavior in the thttpd process.
Affected Products:
- Acme thttpd 1.95.0
- Acme thttpd 2.0.0
- Acme thttpd 2.0.1
- Acme thttpd 2.0.2
- Acme thttpd 2.0.3
- Acme thttpd 2.0.4
- Acme thttpd 2.0.5
- Acme thttpd 2.0.6
- Acme thttpd 2.0.7
- Acme thttpd 2.0.8
- Acme thttpd 2.0.9
- Acme thttpd 2.10.0
- Acme thttpd 2.11.0
- Acme thttpd 2.12.0
- Acme thttpd 2.13.0
- Acme thttpd 2.14.0
- Acme thttpd 2.15.0
- Acme thttpd 2.16.0
- Acme thttpd 2.17.0
- Acme thttpd 2.18.0
- Acme thttpd 2.19.0
- Acme thttpd 2.20.0
- Acme thttpd 2.20.0b
- FREESCO FREESCO 0.2.7
- FREESCO FREESCO 0.3.0.0
- FREESCO FREESCO 0.3.1
- FREESCO FREESCO 0.3.2
- S.u.S.E. Linux 7.3.0
References:
- Acme: Acme software thttpd
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.