{"id":"CVE-2007-4727","state":"PUBLISHED","title":"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 CG","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.\"","publishedAt":"2007-09-12T19:00:00.000Z","updatedAt":"2024-08-07T15:08:33.521Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://issues.rpath.com/browse/RPL-1715","http://www.securityfocus.com/archive/1/479763/100/0/threaded","http://fedoranews.org/updates/FEDORA-2007-213.shtml","http://secunia.com/advisories/26732","http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","http://www.securityfocus.com/bid/25622","https://bugzilla.redhat.com/show_bug.cgi?id=284511","http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","http://securityreason.com/securityalert/3127","http://secunia.com/advisories/26997","http://trac.lighttpd.net/trac/changeset/1986","http://secunia.com/advisories/26824","http://www.vupen.com/english/advisories/2007/3110","http://secunia.com/advisories/27229","http://secunia.com/advisories/26794","http://www.novell.com/linux/security/advisories/2007_20_sr.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:36.442Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/4xxx/CVE-2007-4727.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-4727","state":"PUBLISHED","datePublished":"2007-09-12T19:00:00.000Z","dateUpdated":"2024-08-07T15:08:33.521Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-09-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://issues.rpath.com/browse/RPL-1715","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","name":"20070917 FLEA-2007-0054-1 lighttpd","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","name":"FEDORA-2007-2132","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/26732","name":"26732","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","name":"GLSA-200709-16","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","name":"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","name":"lighttpd-modfastcgi-code-execution(36526)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://securityreason.com/securityalert/3127","name":"3127","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://secunia.com/advisories/26997","name":"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","name":"26824","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/3110","name":"ADV-2007-3110","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/27229","name":"27229","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/26794","name":"26794","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","name":"SUSE-SR:2007:020","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-09-10T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-4727","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://issues.rpath.com/browse/RPL-1715","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-1715"},{"name":"20070917 FLEA-2007-0054-1 lighttpd","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded"},{"name":"FEDORA-2007-2132","refsource":"FEDORA","url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml"},{"name":"26732","refsource":"SECUNIA","url":"http://secunia.com/advisories/26732"},{"name":"GLSA-200709-16","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml"},{"name":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","refsource":"MISC","url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"},{"name":"25622","refsource":"BID","url":"http://www.securityfocus.com/bid/25622"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511"},{"name":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","refsource":"CONFIRM","url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt"},{"name":"lighttpd-modfastcgi-code-execution(36526)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526"},{"name":"3127","refsource":"SREASON","url":"http://securityreason.com/securityalert/3127"},{"name":"26997","refsource":"SECUNIA","url":"http://secunia.com/advisories/26997"},{"name":"http://trac.lighttpd.net/trac/changeset/1986","refsource":"CONFIRM","url":"http://trac.lighttpd.net/trac/changeset/1986"},{"name":"26824","refsource":"SECUNIA","url":"http://secunia.com/advisories/26824"},{"name":"ADV-2007-3110","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/3110"},{"name":"27229","refsource":"SECUNIA","url":"http://secunia.com/advisories/27229"},{"name":"26794","refsource":"SECUNIA","url":"http://secunia.com/advisories/26794"},{"name":"SUSE-SR:2007:020","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://issues.rpath.com/browse/RPL-1715","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","name":"20070917 FLEA-2007-0054-1 lighttpd","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","name":"FEDORA-2007-2132","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/26732","name":"26732","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","name":"GLSA-200709-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/25622","name":"25622","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","name":"lighttpd-modfastcgi-code-execution(36526)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://securityreason.com/securityalert/3127","name":"3127","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://secunia.com/advisories/26997","name":"26997","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://trac.lighttpd.net/trac/changeset/1986","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/26824","name":"26824","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/3110","name":"ADV-2007-3110","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/27229","name":"27229","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/26794","name":"26794","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","name":"SUSE-SR:2007:020","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T15:08:33.521Z"}}]}}}