{"api_version":"1","generated_at":"2026-07-23T07:36:29+00:00","cve":"CVE-2007-4727","urls":{"html":"https://cve.report/CVE-2007-4727","api":"https://cve.report/api/cve/CVE-2007-4727.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-4727","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-4727"},"summary":{"title":"CVE-2007-4727","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.\"","state":"PUBLISHED","assigner":"mitre","published_at":"2007-09-12 19:17:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","data":{"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"}}],"references":[{"url":"http://secunia.com/advisories/26997","name":"http://secunia.com/advisories/26997","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo update for lighttpd - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","name":"http://www.novell.com/linux/security/advisories/2007_20_sr.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Announcement","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://trac.lighttpd.net/trac/changeset/1986","name":"http://trac.lighttpd.net/trac/changeset/1986","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Changeset 1986 - lighttpd - secure, fast, compliant, and very flexible web-server - Trac","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/25622","name":"http://www.securityfocus.com/bid/25622","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Lighttpd Mod_FastCGI Request Headers Remote Header Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.vupen.com/english/advisories/2007/3110","name":"http://www.vupen.com/english/advisories/2007/3110","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/3127","name":"http://securityreason.com/securityalert/3127","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityReason - Lighttpd FastCGI Remote Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","name":"http://www.securityfocus.com/archive/1/479763/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26824","name":"http://secunia.com/advisories/26824","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"rPath update for lighttpd - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26794","name":"http://secunia.com/advisories/26794","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fedora update for lighttpd - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","name":"https://bugzilla.redhat.com/show_bug.cgi?id=284511","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"284511 – (CVE-2007-4727) CVE-2007-4727 FastCGI header overrun in lighttpd's mod_fastcgi","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://issues.rpath.com/browse/RPL-1715","name":"https://issues.rpath.com/browse/RPL-1715","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","name":"http://fedoranews.org/updates/FEDORA-2007-213.shtml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"404 Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  Lighttpd: Buffer overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","name":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Lighttpd FastCGI Remote Vulnerability","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/27229","name":"http://secunia.com/advisories/27229","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SUSE Update for Multiple Packages - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26732","name":"http://secunia.com/advisories/26732","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"lighttpd mod_fastcgi PHP Header Overflow - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","name":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4727","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4727","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"4727","vulnerable":"1","versionEndIncluding":"1.4.15","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"lighttpd","cpe5":"lighttpd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T15:08:33.521Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://issues.rpath.com/browse/RPL-1715"},{"name":"20070917 FLEA-2007-0054-1 lighttpd","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded"},{"name":"FEDORA-2007-2132","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml"},{"name":"26732","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26732"},{"name":"GLSA-200709-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"},{"name":"25622","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/25622"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt"},{"name":"lighttpd-modfastcgi-code-execution(36526)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526"},{"name":"3127","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/3127"},{"name":"26997","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26997"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://trac.lighttpd.net/trac/changeset/1986"},{"name":"26824","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26824"},{"name":"ADV-2007-3110","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/3110"},{"name":"27229","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27229"},{"name":"26794","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26794"},{"name":"SUSE-SR:2007:020","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-09-10T00:00:00.000Z","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.\""}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://issues.rpath.com/browse/RPL-1715"},{"name":"20070917 FLEA-2007-0054-1 lighttpd","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/479763/100/0/threaded"},{"name":"FEDORA-2007-2132","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://fedoranews.org/updates/FEDORA-2007-213.shtml"},{"name":"26732","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26732"},{"name":"GLSA-200709-16","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml"},{"tags":["x_refsource_MISC"],"url":"http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"},{"name":"25622","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/25622"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=284511"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt"},{"name":"lighttpd-modfastcgi-code-execution(36526)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36526"},{"name":"3127","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/3127"},{"name":"26997","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26997"},{"tags":["x_refsource_CONFIRM"],"url":"http://trac.lighttpd.net/trac/changeset/1986"},{"name":"26824","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26824"},{"name":"ADV-2007-3110","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/3110"},{"name":"27229","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27229"},{"name":"26794","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26794"},{"name":"SUSE-SR:2007:020","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://www.novell.com/linux/security/advisories/2007_20_sr.html"}],"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"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-4727","datePublished":"2007-09-12T19:00:00.000Z","dateReserved":"2007-09-05T00:00:00.000Z","dateUpdated":"2024-08-07T15:08:33.521Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-09-12 19:17:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-119","n/a"],"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}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"4727","Ordinal":"1","Title":"CVE-2007-4727","CVE":"CVE-2007-4727","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"4727","Ordinal":"1","NoteData":"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.\"","Type":"Description","Title":"CVE-2007-4727"},{"CveYear":"2007","CveId":"4727","Ordinal":"2","NoteData":"2007-09-12","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"4727","Ordinal":"3","NoteData":"2018-10-15","Type":"Other","Title":"Modified"}]}}}