Buffer overflow in Lighttpd
CVE-2007-4727
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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.129, 96.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- issues.rpath.com/browse/RPL-1715
- 20070917 FLEA-2007-0054-1 lighttpd (mailing-list)
- FEDORA-2007-2132 (vendor-advisory)
- secunia.com/advisories/26732 (third-party-advisory, Vendor Advisory)
- GLSA-200709-16 (vendor-advisory)
- secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
- www.securityfocus.com/bid/25622 (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi
- www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
- lighttpd-modfastcgi-code-execution(36526) (vdb-entry)