J-Security Center

Title: thttpd tdate_parse() Stack Overflow Vulnerability

Severity: HIGH

Description:

The thttpd web server (versions 1.90a to 2.04) doesn't do proper bounds checking in the date parsing function tdate_parse().

By overflowing a static buffer in tdate_parse() an attacker could remotely execute commands on the thttpd host with the permissions of thttpd.

The buffer overflow occurs when a HTTP GET request is made with an overlong "If-Modified-Since" header(approx. 1300+) characters.

Affected Products:

  • Acme thttpd 1.90.0a
  • 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

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.