GitHub Advisoryadvisory · Maven

GHSA-4prh-gqw8-rgh5 Apache Tomcat Directory Traversal

MEDIUM Published 2022-05-01 Modified 2023-09-21 Official page ↗
Aliases
CVE-2007-0450
Ecosystem
Maven
Packages
org.apache.tomcat:tomcat
Severity
Moderate
Weaknesses
CWE-22
Reviewed
2023-09-21

Affected packages

• Maven org.apache.tomcat:tomcat: >= 5.0, < 5.5.22 → fixed in 5.5.22 • Maven org.apache.tomcat:tomcat: >= 6.0, < 6.0.10 → fixed in 6.0.10

Description

Directory traversal vulnerability in Tomcat 5.x before 5.5.22 and 6.x before 6.0.10, when using certain proxy modules (mod_proxy, mod_rewrite, mod_jk), allows remote attackers to read arbitrary files via a `..` (dot dot) sequence with combinations of (1) `/` (slash), (2) `\` (backslash), and (3) URL-encoded backslash (`%5C`) characters in the URL, which are valid separators in Tomcat but not in Apache.

Related

Alias · CVE (1)

  • CVE-2007-0450 Directory traversal vulnerability in Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10, when using certain proxy… vulnerability

Weakness · CWE (1)

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

References