CVE-2007-4727

Summary

CVECVE-2007-4727
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-12 19:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionBuffer 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."

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Lighttpd Lighttpd All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Gentoo update for lighttpd - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
Changeset 1986 - lighttpd - secure, fast, compliant, and very flexible web-server - Trac af854a3a-2127-422b-91ae-364da2661108 trac.lighttpd.net
Lighttpd Mod_FastCGI Request Headers Remote Header Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
SecurityReason - Lighttpd FastCGI Remote Vulnerability af854a3a-2127-422b-91ae-364da2661108 securityreason.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
rPath update for lighttpd - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Fedora update for lighttpd - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
284511 – (CVE-2007-4727) CVE-2007-4727 FastCGI header overrun in lighttpd's mod_fastcgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
issues.rpath.com/browse/RPL-1715 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
404 Not Found af854a3a-2127-422b-91ae-364da2661108 fedoranews.org
Gentoo Linux Documentation -- Lighttpd: Buffer overflow af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Lighttpd FastCGI Remote Vulnerability af854a3a-2127-422b-91ae-364da2661108 secweb.se
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
lighttpd mod_fastcgi PHP Header Overflow - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt af854a3a-2127-422b-91ae-364da2661108 www.lighttpd.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report