WaratekVRT Sign in

CVE-2008-5515 Apache Tomcat

Affected softwareApache Tomcat
Severity5.0 Medium CVSS 2.0
Fixed in4.1.40, 5.5.28, 6.0.20
WeaknessPath traversal (CWE-22)
Published16 Jun 2009
Updated16 Jun 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 17 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 19% chance in 30 days A model's forecast, not a report of exploitation. Higher than 97% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2008-5515

Upgrade Apache Tomcat to a release that fixes it: 4.1.40, 5.5.28 or 6.0.20. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat:tomcat 4.1.0 4.1.40 unbounded
org.apache.tomcat:tomcat 5.5.0 5.5.28 unbounded
org.apache.tomcat:tomcat 6.0.0 6.0.20 unbounded

Products and versions

2 products, 83 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic 4.1.0 · 4.1.1 · 4.1.2 · 4.1.3 · 4.1.10 · 4.1.11 · 4.1.12 · 4.1.13 · 4.1.14 · 4.1.15 · 4.1.16 · 4.1.17 · 4.1.18 · 4.1.19 · 4.1.20 · 4.1.21 · 4.1.22 · 4.1.23 · 4.1.24 · 4.1.25 · 4.1.26 · 4.1.27 · 4.1.28 · 4.1.29 · 4.1.30 · 4.1.31 · 4.1.32 · 4.1.33 · 4.1.34 · 4.1.35 · 4.1.36 · 4.1.37 · 4.1.38 · 4.1.39 · 5.5.0 · 5.5.1 · 5.5.2 · 5.5.3 · 5.5.4 · 5.5.5 · 5.5.6 · 5.5.7 · 5.5.8 · 5.5.9 · 5.5.10 · 5.5.11 · 5.5.12 · 5.5.13 · 5.5.14 · 5.5.15 · 5.5.16 · 5.5.17 · 5.5.18 · 5.5.19 · 5.5.20 · 5.5.21 · 5.5.22 · 5.5.23 · 5.5.24 · 5.5.25 · 5.5.26 · 5.5.27 · 6.0 · 6.0.0 · 6.0.1 · 6.0.2 · 6.0.3 · 6.0.4 · 6.0.5 · 6.0.6 · 6.0.7 · 6.0.9 · 6.0.10 · 6.0.12 · 6.0.13 · 6.0.14 · 6.0.15 · 6.0.16 · 6.0.17 · 6.0.18
osv org.apache.tomcat tomcat generic ≥ 4.1.0 and < 4.1.40 · ≥ 5.5.0 and < 5.5.28 · ≥ 6.0.0 and < 6.0.20

References

URLTags
https://github.com/apache/tomcat/commit/6b61911f94d6d8d49ee933c5f1882a7e7c336d2c WEB
https://github.com/apache/tomcat PACKAGE
https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E WEB
https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E WEB
https://oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:10422 WEB

Timeline

Published2009-06-16By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.