CVE-2007-4727
MEDIUM 6.8CVSS 2.0Buffer 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."
- Published
- 12 Sep 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lighttpd | lighttpdcpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:* |
<= 1.4.15 |
References
- http://fedoranews.org/updates/FEDORA-2007-213.shtml
- http://secunia.com/advisories/26732 · Vendor Advisory
- 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
- http://www.securityfocus.com/archive/1/479763/100/0/threaded
- http://www.securityfocus.com/bid/25622
- http://www.vupen.com/english/advisories/2007/3110
- https://bugzilla.redhat.com/show_bug.cgi?id=284511
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
- https://issues.rpath.com/browse/RPL-1715
History
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 12 Sep 2007)