lighttpd .php file extension source disclosure
| lighttpd-ext-source-disclosure (24699) |
Description:
lighttpd could allow a remote attacker to obtain sensitive information, caused by an error when the Web root is on a case-insensitive filesystem. By sending a URL request for a known .php file using file extensions with unexpected capitalization, a remote attacker could exploit this vulnerability to obtain the requested file's source code and other sensitive information.
*CVSS:
| Base Score: | 2.8 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | None |
| Availability Impact: | None |
| Temporal Score: | 2.4 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Obtain Information
Remedy:
Upgrade to the latest version of lighttpd (1.4.10 or later), available from the lighttpd Web site. See References.
References:
- lighttpd Web site: Download.
- lighttpd Web site: SECURITY: source file retrieval in lighttpd 1.4.8 and below.
- CVE-2006-0760: LightTPD 1.4.8 and earlier, when the web root is on a case-insensitive filesystem, allows remote attackers to bypass URL checks and obtain sensitive information via file extensions with unexpected capitalization, as demonstrated by a request for index.PHP when the configuration invokes the PHP interpreter only for .php names.
- OSVDB ID: 23229: lighttpd Unexpected Capitalization File Extension Request Source Disclosure
- SA18869: Lighttpd Case-Insensitive Filename Source Code Disclosure
- VUPEN/ADV-2006-0550: Lighttpd Extension Handling Remote Source Code Disclosure Vulnerability
Platforms Affected:
- Canonical Ubuntu
- Debian Debian Linux
- FedoraProject Fedora Core 4
- FreeBSD FreeBSD
- Gentoo Linux
- lighttpd lighttpd 1.4.8
- NetBSD NetBSD
- OpenBSD OpenBSD
- Slackware Slackware Linux
Reported:
Feb 13, 2006
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.
