CVE-2008-5515: Path Traversal

Published Jun 16, 2009
·
Updated

Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, 6.0.0 through 6.0.18, and possibly earlier versions normalizes the target pathname before filtering the query string when using the RequestDispatcher method, which 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.

Affected Software

83 affected componentsFixes available
maven/org.apache.tomcat:tomcat>=6.0.0<6.0.20
6.0.20
maven/org.apache.tomcat:tomcat>=5.5.0<5.5.28
5.5.28
maven/org.apache.tomcat:tomcat>=4.1.0<4.1.40
4.1.40
Apache Tomcat=5.5.27
Apache Tomcat=4.1.2
Apache Tomcat=4.1.35
Apache Tomcat=4.1.36
Apache Tomcat=5.5.18
Apache Tomcat=4.1.21
Apache Tomcat=6.0.6
Apache Tomcat=5.5.12
Apache Tomcat=5.5.14
Apache Tomcat=4.1.24
Apache Tomcat=5.5.10
Apache Tomcat=5.5.4
Apache Tomcat=5.5.7
Apache Tomcat=5.5.1
Apache Tomcat=6.0.7
Apache Tomcat=5.5.11
Apache Tomcat=4.1.25
Apache Tomcat=6.0.4
Apache Tomcat=5.5.6
Apache Tomcat=5.5.26
Apache Tomcat=4.1.39
Apache Tomcat=5.5.20
Apache Tomcat=5.5.15
Apache Tomcat=5.5.5
Apache Tomcat=4.1.27
Apache Tomcat=6.0.15
Apache Tomcat=4.1.30
Apache Tomcat=4.1.38
Apache Tomcat=4.1.11
Apache Tomcat=5.5.21
Apache Tomcat=4.1.18
Apache Tomcat=5.5.22
Apache Tomcat=4.1.14
Apache Tomcat=6.0.10
Apache Tomcat=6.0.3
Apache Tomcat=4.1.19
Apache Tomcat=6.0.9
Apache Tomcat=4.1.31
Apache Tomcat=5.5.3
Apache Tomcat=4.1.16
Apache Tomcat=4.1.29
Apache Tomcat=6.0.17
Apache Tomcat=4.1.22
Apache Tomcat=6.0
Apache Tomcat=4.1.26
Apache Tomcat=4.1.13
Apache Tomcat=5.5.9
Apache Tomcat=5.5.25
Apache Tomcat=6.0.0
Apache Tomcat=4.1.17
Apache Tomcat=6.0.14
Apache Tomcat=5.5.2
Apache Tomcat=4.1.33
Apache Tomcat=5.5.0
Apache Tomcat=4.1.1
Apache Tomcat=5.5.13
Apache Tomcat=6.0.1
Apache Tomcat=6.0.12
Apache Tomcat=5.5.24
Apache Tomcat=4.1.12
Apache Tomcat=4.1.28
Apache Tomcat=6.0.18
Apache Tomcat=4.1.15
Apache Tomcat=4.1.10
Apache Tomcat=5.5.8
Apache Tomcat=5.5.16
Apache Tomcat=4.1.0
Apache Tomcat=6.0.5
Apache Tomcat=4.1.20
Apache Tomcat=5.5.17
Apache Tomcat=4.1.3
Apache Tomcat=5.5.19
Apache Tomcat=4.1.23
Apache Tomcat=4.1.34
Apache Tomcat=4.1.32
Apache Tomcat=4.1.37
Apache Tomcat=6.0.2
Apache Tomcat=6.0.13
Apache Tomcat=5.5.23
Apache Tomcat=6.0.16

Event History

Jun 16, 2009
CVE Published
via MITRE·08:26 PM
Data Sourced
via MITRE·08:26 PM
Description
May 14, 2022
Advisory Published
via GitHub·01:17 AM

Frequently Asked Questions

1

What is the severity of CVE-2008-5515?

The severity of CVE-2008-5515 is considered high due to the potential for unauthorized access to restricted resources.

2

How do I fix CVE-2008-5515?

You can fix CVE-2008-5515 by upgrading to Apache Tomcat version 5.5.28, 6.0.20, or 4.1.40, which contain the necessary patches.

3

What versions of Apache Tomcat are affected by CVE-2008-5515?

Apache Tomcat versions 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18 are affected by CVE-2008-5515.

4

Can CVE-2008-5515 lead to data breaches?

Yes, CVE-2008-5515 can allow remote attackers to bypass access restrictions, potentially leading to data breaches.

5

What type of vulnerability is CVE-2008-5515?

CVE-2008-5515 is a path traversal vulnerability that exploits improper pathname normalization in Apache Tomcat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203