CVE-2015-5174 Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
MediumCVSS 4.3
EPSS 12.6%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.apache.tomcat/tomcat(Maven) | = 7.0.35; = 7.0.37; = 7.0.39; = 7.0.40 +42 more | 6.0.45, 7.0.65, 8.0.27 | 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/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 |
| apache tomcat | = 6.0.0; = 6.0.0-alpha; = 6.0.1; = 6.0.1-alpha +86 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) | >= 8.0.0-RC1, < 8.0.27 | 8.0.27 |
| 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.3 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 8.0.5 | No fix listed |
| 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.65 | 7.0.65 |
| org.apache.tomcat/tomcat(Maven) | = 7.0.35 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | = 7.0.37 | No fix listed |
Show 127 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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) | >= 6.0.0, < 6.0.45 | 6.0.45 |
| org.apache.tomcat/tomcat(Maven) | >= 7.0.0, <= 7.0.64 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 6.0.0, <= 6.0.44 | No fix listed |
| org.apache.tomcat/tomcat(Maven) | >= 8.0.0-RC1, <= 8.0.26 | No fix listed |
| 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 | = 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.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 |
| 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 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- security.netapp.com
- GLSA-201705-09 vendor-advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- RHSA-2016:1434 vendor-advisory
- RHSA-2016:1433 vendor-advisory
- RHSA-2016:1432 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:1435 vendor-advisory
- RHSA-2016:2045 vendor-advisory
- RHSA-2016:2599 vendor-advisory
- 20160222 [SECURITY] CVE-2015-5174 Apache Tomcat Limited Directory Traversal issue-tracking mailing-list
- 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
- DSA-3530 vendor-advisory
- DSA-3552 vendor-advisory
- DSA-3609 vendor-advisory
- www.oracle.com
- www.oracle.com
- USN-3024-1 vendor-advisory
- github.com
- 1035070 vdb-entry
- bto.bluecoat.com
- 83329 vdb-entry
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list
- [tomcat-users] 20200130 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context mailing-list
- [tomcat-users] 20200130 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context mailing-list
- [tomcat-users] 20200131 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context mailing-list
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ mailing-list
- [tomcat-users] 20200203 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context mailing-list
- [tomcat-users] 20200204 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [26/34] - /tomcat/site/trunk/docs/ mailing-list
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2022-2849 third-party-advisory