GHSA-9737-qmgc-hfr9

Directory Traversal in Apache Tomcat

At a glance

Published
Updated
CVE
CVE-2008-5515
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

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.

Affected packages

PackageVersions
Maven · org.apache.tomcat:tomcatintroduced 4.1.0, fixed 4.1.40
Maven · org.apache.tomcat:tomcatintroduced 5.5.0, fixed 5.5.28
Maven · org.apache.tomcat:tomcatintroduced 6.0.0, fixed 6.0.20

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database