CVE-2015-5345: Path Traversal

Published Feb 23, 2016
·
Updated

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.

Other sources

When accessing a directory protected by a security constraint with a URL that did not end in a slash, Tomcat would redirect to the URL with the trailing slash thereby confirming the presence of the directory before processing the security constraint. It was therefore possible for a user to determine if a directory existed or not, even if the user was not permitted to view the directory. The issue also occurred at the root of a web application in which case the presence of the web application was confirmed, even if a user did not have access.

External references:

http://seclists.org/bugtraq/2016/Feb/146

Red Hat

Affected Software

111 affected componentsFixes available
redhat/tomcat<6.0.45
6.0.45
redhat/tomcat<7.0.67
7.0.67
redhat/tomcat<8.0.30
8.0.30
maven/org.apache.tomcat:tomcat>=6.0.0<6.0.45
6.0.45
maven/org.apache.tomcat:tomcat>=7.0.0<7.0.68
7.0.68
maven/org.apache.tomcat:tomcat>=8.0.0.RC1<8.0.30
8.0.30
maven/org.apache.tomcat:tomcat=9.0.0.M1
9.0.0.M2
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Apache Tomcat=6.0.0
Apache Tomcat=6.0.0-alpha
Apache Tomcat=6.0.1
Apache Tomcat=6.0.1-alpha
Apache Tomcat=6.0.2
Apache Tomcat=6.0.2-alpha
Apache Tomcat=6.0.2-beta
Apache Tomcat=6.0.4
Apache Tomcat=6.0.4-alpha
Apache Tomcat=6.0.10
Apache Tomcat=6.0.11
Apache Tomcat=6.0.13
Apache Tomcat=6.0.14
Apache Tomcat=6.0.16
Apache Tomcat=6.0.18
Apache Tomcat=6.0.20
Apache Tomcat=6.0.24
Apache Tomcat=6.0.26
Apache Tomcat=6.0.28
Apache Tomcat=6.0.29
Apache Tomcat=6.0.30
Apache Tomcat=6.0.32
Apache Tomcat=6.0.33
Apache Tomcat=6.0.35
Apache Tomcat=6.0.36
Apache Tomcat=6.0.37
Apache Tomcat=6.0.39
Apache Tomcat=6.0.41
Apache Tomcat=6.0.43
Apache Tomcat=6.0.44
Apache Tomcat=7.0.0-beta
Apache Tomcat=7.0.2-beta
Apache Tomcat=7.0.4-beta
Apache Tomcat=7.0.5-beta
Apache Tomcat=7.0.6
Apache Tomcat=7.0.10
Apache Tomcat=7.0.11
Apache Tomcat=7.0.12
Apache Tomcat=7.0.14
Apache Tomcat=7.0.16
Apache Tomcat=7.0.19
Apache Tomcat=7.0.20
Apache Tomcat=7.0.21
Apache Tomcat=7.0.22
Apache Tomcat=7.0.23
Apache Tomcat=7.0.25
Apache Tomcat=7.0.26
Apache Tomcat=7.0.27
Apache Tomcat=7.0.28
Apache Tomcat=7.0.29
Apache Tomcat=7.0.30
Apache Tomcat=7.0.32
Apache Tomcat=7.0.33
Apache Tomcat=7.0.34
Apache Tomcat=7.0.35
Apache Tomcat=7.0.37
Apache Tomcat=7.0.39
Apache Tomcat=7.0.40
Apache Tomcat=7.0.41
Apache Tomcat=7.0.42
Apache Tomcat=7.0.47
Apache Tomcat=7.0.50
Apache Tomcat=7.0.52
Apache Tomcat=7.0.53
Apache Tomcat=7.0.54
Apache Tomcat=7.0.55
Apache Tomcat=7.0.56
Apache Tomcat=7.0.57
Apache Tomcat=7.0.59
Apache Tomcat=7.0.61
Apache Tomcat=7.0.62
Apache Tomcat=7.0.63
Apache Tomcat=7.0.64
Apache Tomcat=7.0.65
Apache Tomcat=8.0.0-rc1
Apache Tomcat=8.0.0-rc10
Apache Tomcat=8.0.0-rc3
Apache Tomcat=8.0.0-rc5
Apache Tomcat=8.0.1
Apache Tomcat=8.0.3
Apache Tomcat=8.0.11
Apache Tomcat=8.0.12
Apache Tomcat=8.0.14
Apache Tomcat=8.0.15
Apache Tomcat=8.0.17
Apache Tomcat=8.0.18
Apache Tomcat=8.0.20
Apache Tomcat=8.0.21
Apache Tomcat=8.0.22
Apache Tomcat=8.0.23
Apache Tomcat=8.0.24
Apache Tomcat=8.0.26
Apache Tomcat=8.0.27
Apache Tomcat=8.0.28
Apache Tomcat=8.0.29
Apache Tomcat=9.0.0-milestone1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Apache Tomcat=9.0.0-m1
debian/tomcat9
9.0.43-2~deb11u109.0.43-2~deb11u129.0.70-29.0.95-1

Event History

Feb 25, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
May 14, 2022
Advisory Published
via GitHub·01:10 AM
Feb 27, 2025
Data Sourced
via Debian·01:49 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-5345?

CVE-2015-5345 is categorized as a medium severity vulnerability.

2

How do I fix CVE-2015-5345?

To fix CVE-2015-5345, upgrade Apache Tomcat to version 6.0.45, 7.0.68, 8.0.30, or later versions.

3

What systems are affected by CVE-2015-5345?

CVE-2015-5345 affects Apache Tomcat versions prior to 6.0.45, 7.0.68, 8.0.30, and 9.0.0.M2.

4

What is the impact of CVE-2015-5345?

CVE-2015-5345 allows remote attackers to enumerate existing directories on the web server.

5

Is CVE-2015-5345 exploitable remotely?

Yes, CVE-2015-5345 can be exploited remotely by sending specially crafted requests to the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203