Skip to content
NewA calmer, faster ZeroHour

thttpd v2.26 Stack-Based Buffer Overflow in thttpd redirect CGI Program

Full Disclosure ()3
AI summary · glm-5.3-flashSummaries by Vani AI

The redirect CGI program shipped with thttpd v2.26 has a stack buffer overflow that unauthenticated attackers can trigger for crashes or possible code execution.

A stack-based buffer overflow exists in the redirect CGI program distributed with thttpd v2.26. Unsafe string concatenation when constructing redirect URLs from attacker-controlled CGI environment variables causes the overflow. A remote, unauthenticated attacker can trigger it via a crafted HTTP request, crashing the CGI process and causing denial of service. In environments lacking modern exploit mitigations, code execution may also be possible.

Key facts
  • Unsafe string concatenation of CGI environment variables builds redirect URLs
  • Remote unauthenticated attackers can crash the CGI process, causing denial of service
  • Code execution is possible in environments lacking modern exploit mitigations
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

Posted by Ron E on Sep 03 *Description:* A stack-based buffer overflow vulnerability exists in the redirect CGI program distributed with thttpd. The vulnerability is caused by unsafe string concatenation when constructing redirect URLs using attacker-controlled CGI environment variables.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.