lighttpd buffer_urldecode function source code disclosure
|lighttpd-source-disclosure (19350)||Low Risk|
lighttpd could allow a remote attacker to obtain sensitive information, caused by improper handling of control sequences in the buffer_urldecode function. By appending '%00' to the file name in a specially-crafted URL request, a remote attacker could cause the requested file's source code to be disclosed.
Upgrade to the latest version of lighttpd (1.3.10 or later), available from the lighttpd Download Web page. See References.
— OR —
Apply the fix for 1.3.7, available from the lighttpd Patch Web page. See References.
For Gentoo Linux:
Upgrade to the latest version of lighttpd (1.3.10-r1 or later), as listed in GLSA 200502-21. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
- Jan Kneschke, Sat, 12 Feb 2005 20:32:32 +0100: script exposure in lighttpd 1.3.7 and below.
- lighttpd Download Web page: lighttpd :: my home.
- lighttpd Patch Web page: Recommended patches for 1.3.7.
- BID-12567: Lighttpd Remote CGI Script Disclosure Vulnerability
- CVE-2005-0453: The buffer_urldecode function in Lighttpd 1.3.7 and earlier does not properly handle control characters, which allows remote attackers to obtain the source code for CGI and FastCGI scripts via a URL with a %00 (null) character after the file extension.
- GLSA-200502-21: lighttpd: Script source disclosure
- OSVDB ID: 13844: lighttpd Null Byte Request CGI Script Source Code Disclosure
- SA14297: lighttpd "%00" Application Source Code Disclosure Vulnerability
- Gentoo Linux
- lighttpd lighttpd 1.3.7
- NetBSD NetBSD
Feb 16, 2005
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this