CVE-2015-5174
Description
Directory traversal vulnerability in RequestUtil.java in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.65, and 8.x before 8.0.27 allows remote authenticated users to bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application in a getResource, getResourceAsStream, or getResourcePaths call, as demonstrated by the $CATALINA_BASE/webapps directory.
How to fix
- org.apache.tomcat:tomcat8.0.27, 7.0.65, 6.0.45 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache tomcat | 6.0.0, 6.0.1, 6.0.2, 6.0.4, 6.0.10, 6.0.11, 6.0.13, 6.0.14, 6.0.16, 6.0.18, 6.0.20, 6.0.24, 6.0.26, 6.0.28, 6.0.29, 6.0.30, 6.0.32, 6.0.33, 6.0.35, 6.0.36, 6.0.37, 6.0.39, 6.0.41, 6.0.43, 6.0.44, 7.0.0, 7.0.2, 7.0.4, 7.0.5, 7.0.6, 7.0.10, 7.0.11, 7.0.12, 7.0.14, 7.0.16, 7.0.19, 7.0.20, 7.0.21, 7.0.22, 7.0.23, 7.0.25, 7.0.26, 7.0.27, 7.0.28, 7.0.29, 7.0.30, 7.0.32, 7.0.33, 7.0.34, 7.0.35, 7.0.37, 7.0.39, 7.0.40, 7.0.41, 7.0.42, 7.0.47, 7.0.50, 7.0.52, 7.0.53, 7.0.54, 7.0.55, 7.0.56, 7.0.57, 7.0.59, 7.0.61, 7.0.62, 7.0.63, 7.0.64, 8.0.0, 8.0.1, 8.0.11, 8.0.12, 8.0.14, 8.0.15, 8.0.17, 8.0.18, 8.0.20, 8.0.21, 8.0.22, 8.0.23, 8.0.24, 8.0.26 | — |
| debian debian_linux | 7.0, 8.0 | — |
| canonical ubuntu_linux | 12.04, 14.04, 15.10, 16.04 | — |
| org.apache.tomcat:tomcatMaven | 8.0.0-RC1 ≤ v < 8.0.27, 7.0.0 ≤ v < 7.0.65, 6.0.0 ≤ v < 6.0.45 | 8.0.27, 7.0.65, 6.0.45 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.