CVE-2015-5345 json
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
published 2016-02-25 10 y ago modified 2026-10-14 25 d ago also GHSA-rh8q-vjgf-gf74 , EUVD-2022-5174
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 18.4%
- EPSS 18.4% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat 6.0.45, 7.0.68, 8.0.30, 9.0.0.M2
- tomcat6 Ubuntu 14.04 LTS 6.0.39-1ubuntu0.1
- tomcat6 Ubuntu 16.04 LTS 6.0.45+dfsg-1
- tomcat7 Ubuntu 14.04 LTS 7.0.52-1ubuntu0.6
- tomcat9 Ubuntu 18.04 LTS 9.0.16-3~18.04.1
ubuntu advisories UBUNTU-CVE-2015-5345
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tomcat RHEL 7 7.0.69-10.el7
- tomcat-lib RHEL 7 7.0.69-10.el7
- tomcat-jsvc RHEL 7 7.0.69-10.el7
- tomcat-javadoc RHEL 7 7.0.69-10.el7
- tomcat-webapps RHEL 7 7.0.69-10.el7
- tomcat-el-2.2-api RHEL 7 7.0.69-10.el7
- tomcat-docs-webapp RHEL 7 7.0.69-10.el7
- tomcat-jsp-2.2-api RHEL 7 7.0.69-10.el7
red hat advisories RHSA-2016:2599RHSA-2016:2045RHSA-2016:1088RHSA-2016:1087
- tomcat6 SLES for SAP 11 SP4, SLES 11 SP4 6.0.45-0.50.1
- tomcat SLES for SAP 12, SLES 12 7.0.68-7.6.1
- tomcat SLES for SAP 12 SP1, SLES 12 SP1 8.0.32-3.1
suse advisories SUSE-SU-2016:0839-1SUSE-SU-2016:0822-1SUSE-SU-2016:0769-1
- tomcat openSUSE Tumbleweed 8.0.36-3.3
- tomcat10 openSUSE Tumbleweed 10.1.14-1.1
opensuse advisories openSUSE-SU-2024:10446-1openSUSE-SU-2024:13441-1
- github.com/apache/tomcat80@c15c2ab commit
- github.com/apache/tomcat@127d8ea commit
- github.com/apache/tomcat@58c09b6 commit
- github.com/apache/tomcat@66daa4a commit
- github.com/apache/tomcat@7288bc7 commit
- github.com/apache/tomcat@816552a commit
- github.com/apache/tomcat@8437193 commit
- github.com/apache/tomcat@89cd0cf commit
- github.com/apache/tomcat@a273b5f commit
- github.com/apache/tomcat@c584c7c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-5345 updated cvss 5.3
tomcat: directory disclosure
-
Red Hat JBoss BRMS 5 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss Data Grid 6 jbossweb jbosswebaffected: no fix available
-
Red Hat JBoss Enterprise Application Platform 4 jbossweb jbossweb Red Hat JBoss Enterprise Application Platform 5 jbossweb jbossweb Red Hat JBoss Enterprise Application Platform 6 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Web Server 2 tomcat7 tomcat7affected: no fix available
-
Red Hat JBoss Fuse Service Works 6 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss Operations Network 3 jbossweb jbossweb Red Hat JBoss Portal 6 jbossweb jbosswebaffected: no fix available
-
Red Hat Enterprise Linux Client (v. 7) tomcat 7.0.69-10.el7, tomcat-servlet-3.0-api 7.0.69-10.el7 Red Hat Enterprise Linux Client Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) tomcat 7.0.69-10.el7, tomcat-servlet-3.0-api 7.0.69-10.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 morefixed: vendor fix RHSA-2016:2599
-
Red Hat Enterprise Linux Desktop (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 more Red Hat Enterprise Linux HPC Node (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 more Red Hat Enterprise Linux Server (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 morefixed: vendor fix RHSA-2016:2045
show 6 moreshow fewer
-
Red Hat Enterprise Linux Server (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, tomcat-jsp-2.2-api 7.0.69-10.el7, tomcat-admin-webapps 7.0.69-10.el7, +1 more Red Hat Enterprise Linux Server Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 morefixed: vendor fix RHSA-2016:2599
-
Red Hat Enterprise Linux Workstation (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 morefixed: vendor fix RHSA-2016:2045
-
Red Hat Enterprise Linux Workstation (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, tomcat-jsp-2.2-api 7.0.69-10.el7, tomcat-admin-webapps 7.0.69-10.el7, +1 more Red Hat Enterprise Linux Workstation Optional (v. 7) tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-docs-webapp 7.0.69-10.el7fixed: vendor fix RHSA-2016:2599
-
Red Hat JBoss Web Server 3.0fixed: vendor fix RHSA-2016:1089
-
Red Hat JBoss Web Server 3.0 for RHEL 6 httpd24 2.4.6-61.ep7.el6, mod_ssl24 2.4.6-61.ep7.el6, mod_ldap24 2.4.6-61.ep7.el6, httpd24-tools 2.4.6-61.ep7.el6, mod_session24 2.4.6-61.ep7.el6, httpd24-manual 2.4.6-61.ep7.el6, +22 morefixed: vendor fix RHSA-2016:1087
-
Red Hat JBoss Web Server 3.0 for RHEL 7 httpd24 2.4.6-61.ep7.el7, mod_ssl24 2.4.6-61.ep7.el7, mod_ldap24 2.4.6-61.ep7.el7, httpd24-tools 2.4.6-61.ep7.el7, mod_session24 2.4.6-61.ep7.el7, httpd24-manual 2.4.6-61.ep7.el7, +22 morefixed: vendor fix RHSA-2016:1088
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
18.38% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=9.0.0.M1, <9.0.0.M2 >=8.0.0-RC1, <8.0.30 >=7.0.0, <7.0.68 >=6.0.0, <6.0.45 |
9.0.0.M2 8.0.30 7.0.68 6.0.45 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/tomcat80/commit/c15c2aba8eb42425f9ebcfcaef579dada38ad3a2
web
-
github.com
/apache/tomcat/commit/127d8ea86d245846f0472865f0eb1eb111955e71
web
-
github.com
/apache/tomcat/commit/58c09b6217c546e1a251a82da227018f05277228
web
-
github.com
/apache/tomcat/commit/66daa4adc14b3e939659879153c0a579fdfcb099
web
-
github.com
/apache/tomcat/commit/7288bc70a14edcfeff0a96e333a858be374cfc64
web
-
github.com
/apache/tomcat/commit/816552abf6735fa37dfd37c8a7bfbdbd045477e0
web
-
github.com
/apache/tomcat/commit/8437193708e4bf6b2861a7953dc472f9dad49111
web
-
github.com
/apache/tomcat/commit/89cd0cf33a99dbbcf5c69050a83b6876e39269d7
web
-
github.com
/apache/tomcat/commit/a273b5f45cb46a273d06510a689fc314155a952d
web
-
github.com
/apache/tomcat/commit/c584c7c4ab0686e4125eefcd0afb32fb8269da3d
web
-
github.com
/apache/tomcat80/commit/2b643a4e36d318d55ec57fee57610671656d23c0
web
-
security.gentoo.org
/glsa/201705-09
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00085.html
vendor-advisory
-
ubuntu.com
/usn/USN-3024-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00047.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-2045.html
vendor-advisory
-
debian.org
/security/2016/dsa-3530
vendor-advisory
-
marc.info
/?l=bugtraq&m=145974991225029&w=2
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1089.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2016:1087
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2016:1088
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00069.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2599.html
vendor-advisory
-
debian.org
/security/2016/dsa-3609
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00082.html
vendor-advisory
-
debian.org
/security/2016/dsa-3552
vendor-advisory
-
tomcat.apache.org
/security-9.html
vendor-advisory
-
tomcat.apache.org
/security-7.html
vendor-advisory
-
tomcat.apache.org
/security-8.html
vendor-advisory
-
tomcat.apache.org
/security-6.html
vendor-advisory
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
web
- svn.apache.org /viewvc?view=revision&revision=1715216
- oracle.com /technetwork/security-advisory/cpujul2018-4258247.html
-
kc.mcafee.com
/corporate/index?page=content&id=SB10156
web
- oracle.com /technetwork/topics/security/linuxbulletinoct2016-3090545.html
- svn.apache.org /viewvc?view=revision&revision=1715213
- packetstormsecurity.com /files/135892/Apache-Tomcat-Directory-Disclosure.html
- svn.apache.org /viewvc?view=revision&revision=1715206
- qcsec.com /blog/CVE-2015-5345-apache-tomcat-vulnerability.html
- oracle.com /technetwork/topics/security/bulletinapr2016-2952098.html
-
securitytracker.com
/id/1035071
vdb-entry
-
bto.bluecoat.com
/security-advisory/sa118
web
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
web
- svn.apache.org /viewvc?view=revision&revision=1717212
- security.netapp.com /advisory/ntap-20180531-0001/
-
seclists.org
/bugtraq/2016/Feb/146
mailing-list
- svn.apache.org /viewvc?view=revision&revision=1716894
- svn.apache.org /viewvc?view=revision&revision=1717209
-
securityfocus.com
/bid/83328
vdb-entry
- svn.apache.org /viewvc?view=revision&revision=1715207
- svn.apache.org /viewvc?view=revision&revision=1717216
-
nvd.nist.gov
/vuln/detail/CVE-2015-5345
advisory
-
lists.apache.org
/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
web
Sources
- CVE List CVE-2015-5345
- GitHub Advisory GHSA-rh8q-vjgf-gf74
- NVD CVE-2015-5345
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.