CVE-2015-5345 Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
MediumCVSS 5.3
EPSS 18.4%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.apache.tomcat/tomcat(Maven) | = 7.0.35; = 7.0.37; = 7.0.39; = 7.0.40 +46 more | 6.0.45, 7.0.68, 8.0.30, 9.0.0.M2 | Fixed |
| ubuntu/tomcat6(Ubuntu 14.04) | < 6.0.39-1ubuntu0.1; = 6.0.37-1; = 6.0.39-1 | 6.0.39-1ubuntu0.1 | Fixed |
| ubuntu/tomcat6(Ubuntu 16.04) | < 6.0.45+dfsg-1; = 6.0.41-4 | 6.0.45+dfsg-1 | Fixed |
| ubuntu/tomcat7(Ubuntu 14.04) | < 7.0.52-1ubuntu0.6; = 7.0.42-1; = 7.0.47-1; = 7.0.50-1 +3 more | 7.0.52-1ubuntu0.6 | Fixed |
| ubuntu/tomcat9(Ubuntu 18.04) | < 9.0.16-3~18.04.1 | 9.0.16-3~18.04.1 | Fixed |
| apache tomcat | = 6.0.0; = 6.0.0-alpha; = 6.0.1; = 6.0.1-alpha +92 more | No fix listed | Versions listed |
| Canonical Ubuntu Linux | = 12.04; = 14.04; = 15.10; = 16.04 | No fix listed | Versions listed |
| debian linux | = 7.0; = 8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat/tomcat(Maven) | >= 9.0.0.M1, < 9.0.0.M2 | 9.0.0.M2 |
| org.apache.tomcat/tomcat(Maven) | = 9.0.0.M1 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 8.0.0-RC1, < 8.0.30 | 8.0.30 |
| org.apache.tomcat/tomcat(Maven) | = 8.0.0-RC1 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.0-RC10 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.0-RC3 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.0-RC5 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.1 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.11 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.12 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.14 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.15 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.17 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.18 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.20 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.21 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.22 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.23 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.24 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.26 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.27 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.28 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.29 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.3 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.5 | No fix listed |
Show 140 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat/tomcat(Maven) | = 8.0.8 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.9 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 7.0.0, < 7.0.68 | 7.0.68 |
| org.apache.tomcat/tomcat(Maven) | = 7.0.35 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.37 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.39 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.40 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.41 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.42 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.47 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.50 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.52 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.53 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.54 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.55 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.56 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.57 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.59 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.61 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.62 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.63 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.64 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.65 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.67 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 6.0.0, < 6.0.45 | 6.0.45 |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| apache tomcat | = 6.0.0 | No fix listed |
| apache tomcat | = 6.0.0-alpha | No fix listed |
| apache tomcat | = 6.0.1 | No fix listed |
| apache tomcat | = 6.0.1-alpha | No fix listed |
| apache tomcat | = 6.0.2 | No fix listed |
| apache tomcat | = 6.0.2-alpha | No fix listed |
| apache tomcat | = 6.0.2-beta | No fix listed |
| apache tomcat | = 6.0.4 | No fix listed |
| apache tomcat | = 6.0.4-alpha | No fix listed |
| apache tomcat | = 6.0.10 | No fix listed |
| apache tomcat | = 6.0.11 | No fix listed |
| apache tomcat | = 6.0.13 | No fix listed |
| apache tomcat | = 6.0.14 | No fix listed |
| apache tomcat | = 6.0.16 | No fix listed |
| apache tomcat | = 6.0.18 | No fix listed |
| apache tomcat | = 6.0.20 | No fix listed |
| apache tomcat | = 6.0.24 | No fix listed |
| apache tomcat | = 6.0.26 | No fix listed |
| apache tomcat | = 6.0.28 | No fix listed |
| apache tomcat | = 6.0.29 | No fix listed |
| apache tomcat | = 6.0.30 | No fix listed |
| apache tomcat | = 6.0.32 | No fix listed |
| apache tomcat | = 6.0.33 | No fix listed |
| apache tomcat | = 6.0.35 | No fix listed |
| apache tomcat | = 6.0.36 | No fix listed |
| apache tomcat | = 6.0.37 | No fix listed |
| apache tomcat | = 6.0.39 | No fix listed |
| apache tomcat | = 6.0.41 | No fix listed |
| apache tomcat | = 6.0.43 | No fix listed |
| apache tomcat | = 6.0.44 | No fix listed |
| apache tomcat | = 7.0.0-beta | No fix listed |
| apache tomcat | = 7.0.2-beta | No fix listed |
| apache tomcat | = 7.0.4-beta | No fix listed |
| apache tomcat | = 7.0.5-beta | No fix listed |
| apache tomcat | = 7.0.6 | No fix listed |
| apache tomcat | = 7.0.10 | No fix listed |
| apache tomcat | = 7.0.11 | No fix listed |
| apache tomcat | = 7.0.12 | No fix listed |
| apache tomcat | = 7.0.14 | No fix listed |
| apache tomcat | = 7.0.16 | No fix listed |
| apache tomcat | = 7.0.19 | No fix listed |
| apache tomcat | = 7.0.20 | No fix listed |
| apache tomcat | = 7.0.21 | No fix listed |
| apache tomcat | = 7.0.22 | No fix listed |
| apache tomcat | = 7.0.23 | No fix listed |
| apache tomcat | = 7.0.25 | No fix listed |
| apache tomcat | = 7.0.26 | No fix listed |
| apache tomcat | = 7.0.27 | No fix listed |
| apache tomcat | = 7.0.28 | No fix listed |
| apache tomcat | = 7.0.29 | No fix listed |
| apache tomcat | = 7.0.30 | No fix listed |
| apache tomcat | = 7.0.32 | No fix listed |
| apache tomcat | = 7.0.33 | No fix listed |
| apache tomcat | = 7.0.34 | No fix listed |
| apache tomcat | = 7.0.35 | No fix listed |
| apache tomcat | = 7.0.37 | No fix listed |
| apache tomcat | = 7.0.39 | No fix listed |
| apache tomcat | = 7.0.40 | No fix listed |
| apache tomcat | = 7.0.41 | No fix listed |
| apache tomcat | = 7.0.42 | No fix listed |
| apache tomcat | = 7.0.47 | No fix listed |
| apache tomcat | = 7.0.50 | No fix listed |
| apache tomcat | = 7.0.52 | No fix listed |
| apache tomcat | = 7.0.53 | No fix listed |
| apache tomcat | = 7.0.54 | No fix listed |
| apache tomcat | = 7.0.55 | No fix listed |
| apache tomcat | = 7.0.56 | No fix listed |
| apache tomcat | = 7.0.57 | No fix listed |
| apache tomcat | = 7.0.59 | No fix listed |
| apache tomcat | = 7.0.61 | No fix listed |
| apache tomcat | = 7.0.62 | No fix listed |
| apache tomcat | = 7.0.63 | No fix listed |
| apache tomcat | = 7.0.64 | No fix listed |
| apache tomcat | = 7.0.65 | No fix listed |
| apache tomcat | = 8.0.0-rc1 | No fix listed |
| apache tomcat | = 8.0.0-rc10 | No fix listed |
| apache tomcat | = 8.0.0-rc3 | No fix listed |
| apache tomcat | = 8.0.0-rc5 | No fix listed |
| apache tomcat | = 8.0.1 | No fix listed |
| apache tomcat | = 8.0.3 | No fix listed |
| apache tomcat | = 8.0.11 | No fix listed |
| apache tomcat | = 8.0.12 | No fix listed |
| apache tomcat | = 8.0.14 | No fix listed |
| apache tomcat | = 8.0.15 | No fix listed |
| apache tomcat | = 8.0.17 | No fix listed |
| apache tomcat | = 8.0.18 | No fix listed |
| apache tomcat | = 8.0.20 | No fix listed |
| apache tomcat | = 8.0.21 | No fix listed |
| apache tomcat | = 8.0.22 | No fix listed |
| apache tomcat | = 8.0.23 | No fix listed |
| apache tomcat | = 8.0.24 | No fix listed |
| apache tomcat | = 8.0.26 | No fix listed |
| apache tomcat | = 8.0.27 | No fix listed |
| apache tomcat | = 8.0.28 | No fix listed |
| apache tomcat | = 8.0.29 | No fix listed |
| apache tomcat | = 9.0.0-milestone1 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 15.10 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| ubuntu/tomcat6(Ubuntu:14.04) | < 6.0.39-1ubuntu0.1 | 6.0.39-1ubuntu0.1 |
| ubuntu/tomcat6(Ubuntu:14.04) | = 6.0.37-1 | No fix listed |
| ubuntu/tomcat6(Ubuntu:14.04) | = 6.0.39-1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | < 7.0.52-1ubuntu0.6 | 7.0.52-1ubuntu0.6 |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.42-1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.47-1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.50-1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.52-1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.52-1ubuntu0.1 | No fix listed |
| ubuntu/tomcat7(Ubuntu:14.04) | = 7.0.52-1ubuntu0.3 | No fix listed |
| ubuntu/tomcat6(Ubuntu:16.04) | < 6.0.45+dfsg-1 | 6.0.45+dfsg-1 |
| ubuntu/tomcat6(Ubuntu:16.04) | = 6.0.41-4 | No fix listed |
| ubuntu/tomcat9(Ubuntu:18.04) | < 9.0.16-3~18.04.1 | 9.0.16-3~18.04.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- lists.apache.org
- [tomcat-dev] 20200213 svn commit: r1873980 [26/34] - /tomcat/site/trunk/docs/ mailing-list
- lists.apache.org
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ mailing-list
- lists.apache.org
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- lists.apache.org
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list
- lists.apache.org
- GLSA-201705-09 vendor-advisory
- security.netapp.com
- web.archive.org
- web.archive.org
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list
- lists.apache.org
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- lists.apache.org
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- kc.mcafee.com
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- github.com product
- bz.apache.org
- bto.bluecoat.com
- RHSA-2016:1088 vendor-advisory
- RHSA-2016:1087 vendor-advisory
- SUSE-SU-2016:0769 vendor-advisory
- SUSE-SU-2016:0822 vendor-advisory
- SUSE-SU-2016:0839 vendor-advisory
- openSUSE-SU-2016:0865 vendor-advisory
- HPSBUX03561 vendor-advisory
- packetstormsecurity.com exploit
- RHSA-2016:1089 vendor-advisory
- RHSA-2016:2045 vendor-advisory
- RHSA-2016:2599 vendor-advisory
- 20160222 [SECURITY] CVE-2015-5345 Apache Tomcat Directory disclosure issue-tracking mailing-list
- 20160225 [CVE-2015-5345] Information disclosure vulnerability in Apache Tomcat mailing-list
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- svn.apache.org
- tomcat.apache.org vendor-advisory
- tomcat.apache.org vendor-advisory
- tomcat.apache.org vendor-advisory
- tomcat.apache.org vendor-advisory
- DSA-3530 vendor-advisory
- DSA-3552 vendor-advisory
- DSA-3609 vendor-advisory
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.qcsec.com
- USN-3024-1 vendor-advisory
- github.com
- 1035071 vdb-entry
- 83328 vdb-entry
- Debian Security Tracker CVE-2015-5345 vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2022-5174 third-party-advisory