CVE-2015-5174
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…
Check your servers for CVE-2015-5174
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-5174 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 12.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.9% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 14 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-5174 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-5174RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-5174Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-5174
trivy image --scanners vuln IMAGE | grep CVE-2015-5174
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964 h20566.www2.hpe.com
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html oracle.com
- GLSA-201705-09 security.gentoo.org · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1700900 svn.apache.org
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html oracle.com
- openSUSE-SU-2016:0865 lists.opensuse.org · vendor advisory
- USN-3024-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0769 lists.opensuse.org · vendor advisory
- RHSA-2016:2045 rhn.redhat.com · vendor advisory
- DSA-3530 debian.org · vendor advisory
- http://tomcat.apache.org/security-7.html tomcat.apache.org
- HPSBUX03561 marc.info · vendor advisory
19 more
- http://svn.apache.org/viewvc?view=revision&revision=1696284 svn.apache.org
- http://tomcat.apache.org/security-8.html tomcat.apache.org
- RHSA-2016:1434 access.redhat.com · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1700898 svn.apache.org
- https://bto.bluecoat.com/security-advisory/sa118 bto.bluecoat.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442 h20566.www2.hpe.com
- RHSA-2016:1433 access.redhat.com · vendor advisory
- https://security.netapp.com/advisory/ntap-20180531-0001/ security.netapp.com
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- RHSA-2016:1432 access.redhat.com · vendor advisory
- SUSE-SU-2016:0822 lists.opensuse.org · vendor advisory
- RHSA-2016:2599 rhn.redhat.com · vendor advisory
- DSA-3609 debian.org · vendor advisory
- SUSE-SU-2016:0839 lists.opensuse.org · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1696281 svn.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1700897 svn.apache.org
- RHSA-2016:1435 rhn.redhat.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626 h20566.www2.hpe.com
- DSA-3552 debian.org · vendor advisory
Other references
- 1035070 securitytracker.com · vdb entry
- 83329 securityfocus.com · vdb entry
- 20160222 [SECURITY] CVE-2015-5174 Apache Tomcat Limited Directory Traversal seclists.org · mailing list
- http://packetstormsecurity.com/files/135883/Apache-Tomcat-Limited-Directory-Traversal.html packetstormsecurity.com
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-users] 20200130 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside context lists.apache.org · mailing list
- [tomcat-users] 20200130 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside… lists.apache.org · mailing list
- [tomcat-users] 20200131 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside… lists.apache.org · mailing list
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
4 more
- [tomcat-users] 20200203 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside… lists.apache.org · mailing list
- [tomcat-users] 20200204 Re: 7.0.59 to 7.0.99 upgrade, CVE-2015-5174 fix prevents us from accessing resources outside… lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [26/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
Source: the record CVE-2015-5174 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse