ADVISORIES

GitHub Advisory Database

GHSA-rh8q-vjgf-gf74

Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

Moderate CVE-2015-5345

Details

The Mapper component in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.68, 8.x before 8.0.30, and 9.x before 9.0.0.M2 processes redirects before considering security constraints and Filters, which allows remote attackers to determine the existence of a directory via a URL that lacks a trailing / (slash) character.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
From 9.0.0.M1 before 9.0.0.M2 (fixed in 9.0.0.M2)
Mavenorg.apache.tomcat:tomcat
From 8.0.0-RC1 before 8.0.30 (fixed in 8.0.30)
Mavenorg.apache.tomcat:tomcat
From 7.0.0 before 7.0.68 (fixed in 7.0.68)
Mavenorg.apache.tomcat:tomcat
From 6.0.0 before 6.0.45 (fixed in 6.0.45)

References