Lighttpd .php file extension source disclosure
| lighttpd-ext-source-disclosure (24699) |
Description:
lighttpd could allow a remote attacker to obtain sensitive information. If an attacker sends a URL request for a known .php file using an uppercase file extension (.PHP), the requested file's source code will be returned if the file system being used is case-sensitive.
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
Remedy:
Upgrade to the latest version of lighttpd (1.4.10 or later), available from the lighttpd Web site. See References.
Consequences:
Obtain Information
References:
- lighttpd Web site, Download at http://lighttpd.net/download/.
- lighttpd Web site, SECURITY: source file retrieval in lighttpd 1.4.8 and below at http://lighttpd.net/news/.
- 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
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
