Apache Tomcat URL appended with a null character could list directories
| tomcat-null-directory-listing (11194) |
Description:
Apache Tomcat could allow a remote attacker to obtain sensitive information. If a remote attacker sends a URL request to the Web server appended with a null byte character, the Web server would return a list of the directories. An attacker could then use this information to launch further attacks against the affected host.
Consequences:
Obtain Information
Remedy:
Upgrade to the latest version of Tomcat (3.3.1a or later), available from the Apache Jakarta Project Web site. See References.
For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest tomcat package (3.3a-4.1 or later), as listed in DSA-246-1. See References.
For HP-UX 11.00, 11.11, 11.20, and 11.22 :
Download and install the latest apache web server or tomcat servlet engine, as listed in Hewlett-Packard Company Security Bulletin HPSBUX0303-249. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Apache Jakarta Project Web site: Index of /builds/jakarta-tomcat/release/v3.3.1a.
- Apache Jakarta Project Web site: Apache Tomcat 3.3.1a - Release Notes.
- Apache Jakarta Project Web site: The Jakarta Site - The Jakarta Project.
- CIAC Information Bulletin N-060: Vulnerabilities in Tomcat 3.3.1 [REVISED 7 July 2004].
- CIAC Information Bulletin N-060: Vulnerabilities in Tomcat 3.3.1.
- Hewlett-Packard Company Security Bulletin HPSBUX0303-249: SSRT3522 Sec. Vulnerabilities in Tomcat 3.3.1. (From SecurityFocus archive.)
- VulnWatch Mailing List, Thu Jan 30 2003 - 04:55:15 CST: Apache Jakarta Tomcat 3 URL parsing vulnerability.
- BID-6721: Apache Tomcat Null Byte Directory/File Disclosure Vulnerability
- CVE-2003-0042: Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character.
- DSA-246: tomcat -- information exposure
- SA7972: Debian updates to tomcat
- SA7977: Apache Tomcat directory listing
Platforms Affected:
- Apache Tomcat 3.0
- Apache Tomcat 3.1
- Apache Tomcat 3.1.1
- Apache Tomcat 3.2
- Apache Tomcat 3.2.1
- Apache Tomcat 3.2.3
- Apache Tomcat 3.2.4
- Apache Tomcat 3.3
- Apache Tomcat 3.3.1
- Debian Debian Linux 3.0
- HP HP-UX 11.00
- HP HP-UX 11.11
- HP HP-UX 11.20
- HP HP-UX 11.22
Reported:
Jan 25, 2003
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
