{"id":"CVE-2007-4727","sourceIdentifier":"cve@mitre.org","published":"2007-09-12T19:17:00.000","lastModified":"2026-06-16T22:44:39.827","vulnStatus":"Modified","cveTags":[],"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.\""},{"lang":"es","value":"Desbordamiento de búfer en la función fcgi_env_add de mod_proxy_backend_fastcgi.c en la extensión mod_fastcgi en lighttpd anterior a 1.4.18 permite a atacantes remotos sobrescribir variables CGI de su elección y ejecutar código de su elección mediante una petición HTTP con una longitud de contenido larga, como se ha demostrado sobrescribiendo la variable SCRIPT_FILENAME, también conocido como \"desbordamiento de cabecera\"."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*","versionEndIncluding":"1.4.15","matchCriteriaId":"280F8BA1-34E8-4A93-871C-49E6F6826F2C"}]}]}],"references":[{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26732","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/26794","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26824","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26997","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27229","source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/3127","source":"cve@mitre.org"},{"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","source":"cve@mitre.org"},{"url":"http://trac.lighttpd.net/trac/changeset/1986","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","source":"cve@mitre.org"},{"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","source":"cve@mitre.org"},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/25622","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/3110","source":"cve@mitre.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","source":"cve@mitre.org"},{"url":"https://issues.rpath.com/browse/RPL-1715","source":"cve@mitre.org"},{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26732","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/26794","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26824","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26997","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27229","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/3127","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://trac.lighttpd.net/trac/changeset/1986","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/25622","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/3110","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://issues.rpath.com/browse/RPL-1715","source":"af854a3a-2127-422b-91ae-364da2661108"}]}