{"id":"CVE-2007-4727","published":"2007-09-12T19:00:00Z","modified":"2024-08-07T15:08:33Z","title":"Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12895,"percentile":0.964,"provenance":"source"},"cwes":[],"references":[{"url":"https://issues.rpath.com/browse/RPL-1715","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/26732","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/25622","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","tags":["x_refsource_MISC"]},{"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://securityreason.com/securityalert/3127","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://secunia.com/advisories/26997","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://trac.lighttpd.net/trac/changeset/1986","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/26824","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/3110","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/27229","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/26794","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":19.28}]},"summary":{"text":"The flaw is a buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c, part of the mod_fastcgi extension in lighttpd. It affects lighttpd versions before 1.4.18. A remote attacker sending an HTTP request with a long content length can overwrite arbitrary CGI variables, such as SCRIPT_FILENAME, and execute arbitrary code, with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:46:02Z"},"euvd":{"id":"EUVD-2007-4708","exploited":false,"provenance":"source"}}