What’s Vulnerable › Vulnerabilities
CVE-2007-4727
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 12.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2007-09-12 · updated 2026-06-16
- Weakness: CWE-119
Description
Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."
Affected products
- lighttpd: through 1.4.15
References
- http://fedoranews.org/updates/FEDORA-2007-213.shtml
- http://secunia.com/advisories/26732
- http://secunia.com/advisories/26794
- http://secunia.com/advisories/26824
- http://secunia.com/advisories/26997
- http://secunia.com/advisories/27229
- http://securityreason.com/securityalert/3127
- http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
- http://trac.lighttpd.net/trac/changeset/1986
- http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
- http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
- http://www.novell.com/linux/security/advisories/2007_20_sr.html
Get alerted when CVE-2007-4727 or the next vulnerability affects your stack