CVE-2007-4727

lighttpd < 1.4.15 - Buffer Overflow via Long Content Length in mod_fastcgi

Title source: llm
STIX 2.1

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."

References (18)

Core 18
Core References
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-1715
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/479763/100/0/threaded
Mailing List vendor-advisory x_refsource_fedora
http://fedoranews.org/updates/FEDORA-2007-213.shtml
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26732
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25622
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=284511
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3127
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26997
Various Sources x_refsource_confirm
http://trac.lighttpd.net/trac/changeset/1986
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26824
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3110
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27229
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26794
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2007_20_sr.html

Scores

EPSS 0.1290
EPSS Percentile 95.9%

Details

CWE
CWE-119
Status published
Products (1)
lighttpd/lighttpd < 1.4.15
Published Sep 12, 2007
Tracked Since Feb 18, 2026