GitHub Advisoryadvisory · Maven

GHSA-9737-qmgc-hfr9 Directory Traversal in Apache Tomcat

MEDIUM Published 2022-05-14 Modified 2024-02-21 Official page ↗
Aliases
CVE-2008-5515
Ecosystem
Maven
Packages
org.apache.tomcat:tomcat
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-06-09

Affected packages

• Maven org.apache.tomcat:tomcat: >= 4.1.0, < 4.1.40 → fixed in 4.1.40 • Maven org.apache.tomcat:tomcat: >= 5.5.0, < 5.5.28 → fixed in 5.5.28 • Maven org.apache.tomcat:tomcat: >= 6.0.0, < 6.0.20 → fixed in 6.0.20

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.

Related

Alias · CVE (1)

  • CVE-2008-5515 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… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References