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.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.129 · newest: 0.129 · change: 0.000
Affected products
Weakness classification (CWE)
References
- issues.rpath.com/browse/RPL-1715
- www.securityfocus.com/archive/1/479763/100/0/threaded (mailing-list)
- fedoranews.org/updates/FEDORA-2007-213.shtml (vendor-advisory)
- secunia.com/advisories/26732 (Vendor Advisory, third-party-advisory)
- www.gentoo.org/security/en/glsa/glsa-200709-16.xml (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
- exchange.xforce.ibmcloud.com/vulnerabilities/36526 (vdb-entry)