CVE-2015-5345
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…
Check your servers for CVE-2015-5345
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-5345 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
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 18.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.8% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 4 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
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-5345 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-5345RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-5345Alpine
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-5345
trivy image --scanners vuln IMAGE | grep CVE-2015-5345
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://svn.apache.org/viewvc?view=revision&revision=1715216 svn.apache.org
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html oracle.com
- GLSA-201705-09 security.gentoo.org · vendor advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156 kc.mcafee.com
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html oracle.com
- openSUSE-SU-2016:0865 lists.opensuse.org · vendor advisory
- http://tomcat.apache.org/security-9.html tomcat.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1715213 svn.apache.org
- USN-3024-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0769 lists.opensuse.org · vendor advisory
- RHSA-2016:2045 rhn.redhat.com · vendor advisory
26 more
- DSA-3530 debian.org · vendor advisory
- http://tomcat.apache.org/security-7.html tomcat.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1715206 svn.apache.org
- HPSBUX03561 marc.info · vendor advisory
- RHSA-2016:1089 rhn.redhat.com · vendor advisory
- http://tomcat.apache.org/security-8.html tomcat.apache.org
- RHSA-2016:1087 access.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html oracle.com
- 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:1088 access.redhat.com · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1717212 svn.apache.org
- https://security.netapp.com/advisory/ntap-20180531-0001/ security.netapp.com
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1716894 svn.apache.org
- SUSE-SU-2016:0822 lists.opensuse.org · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1717209 svn.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1715207 svn.apache.org
- RHSA-2016:2599 rhn.redhat.com · vendor advisory
- DSA-3609 debian.org · vendor advisory
- http://svn.apache.org/viewvc?view=revision&revision=1717216 svn.apache.org
- SUSE-SU-2016:0839 lists.opensuse.org · 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
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58765 bz.apache.org
- http://svn.apache.org/viewvc?view=revision&revision=1716882 svn.apache.org
Other references
- http://packetstormsecurity.com/files/135892/Apache-Tomcat-Directory-Disclosure.html packetstormsecurity.com
- http://www.qcsec.com/blog/CVE-2015-5345-apache-tomcat-vulnerability.html qcsec.com
- 1035071 securitytracker.com · vdb entry
- 20160222 [SECURITY] CVE-2015-5345 Apache Tomcat Directory disclosure seclists.org · mailing list
- 83328 securityfocus.com · vdb entry
- 20160225 [CVE-2015-5345] Information disclosure vulnerability in Apache Tomcat seclists.org · mailing list
- [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-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ 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-5345 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse