PT-2009-1291 · Apache+2 · Apache Tomcat+2
Published
2009-06-03
·
Updated
2023-02-13
·
CVE-2008-5515
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Tomcat versions 4.1.0 through 4.1.39
Apache Tomcat versions 5.5.0 through 5.5.27
Apache Tomcat versions 6.0.0 through 6.0.18
Description
The issue allows remote attackers to bypass intended access restrictions and conduct directory traversal attacks via .. (dot dot) sequences and the WEB-INF directory in a Request. This is due to the normalization of the target pathname before filtering the query string when using the RequestDispatcher method. A request that includes a specially crafted request parameter could be used to access content that would otherwise be protected by a security constraint or by locating it under the WEB-INF directory.
Recommendations
For Apache Tomcat versions 4.1.0 through 4.1.39, update to a version outside of this range to resolve the issue.
For Apache Tomcat versions 5.5.0 through 5.5.27, update to a version outside of this range to resolve the issue.
For Apache Tomcat versions 6.0.0 through 6.0.18, update to a version outside of this range to resolve the issue.
As a temporary workaround, consider restricting access to the WEB-INF directory to minimize the risk of exploitation.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Tomcat
Hp-Ux
Red Hat