lighttpd mod_fastcgi code execution
| lighttpd-modfastcgi-code-execution (36526) |
Description:
lighttpd could allow a remote attacker to execute arbitrary code on the system, caused by a header overflow in the mod_fastcgi extension. By sending a specially-crafted request with an overly large contentLength value, an attacker could exploit this vulnerability to execute arbitrary code on the system.
*CVSS:
| Base Score: | 10 |
| Access Vector: | Network |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Complete |
| Integrity Impact: | Complete |
| Availability Impact: | Complete |
| Temporal Score: | 8.3 |
| Exploitability: | Functional |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of Lighttpd (1.4.18 or later), available from the Lighttpd Web site. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- lighttpd Web site: lighttpd fly light.
- Secweb Web site: Lighttpd FastCGI Remote Vulnerability.
- BID-25622: Lighttpd Mod_FastCGI Request Headers Remote Header Overflow Vulnerability
- CVE-2007-4727: 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.
- DSA-1362: lighttpd -- several vulnerabilities
- GLSA-200709-16: Lighttpd: Buffer overflow
- GLSA-200710-02: PHP: Multiple vulnerabilities
- SA26732: lighttpd mod_fastcgi PHP Header Overflow
- SUSE-SR:2007:020: SUSE Security Summary Report
- VUPEN/ADV-2007-3110: Lighttpd mod_fastcgi Headers Handling Remote Code Execution Vulnerability
Platforms Affected:
- Debian Debian Linux 4.0
- Gentoo Linux
- lighttpd lighttpd 1.4.17
- SUSE SuSE Linux
Reported:
Sep 09, 2007
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. 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. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
