CVE-2015-5345
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 49.88%• Percentile: 98%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- Unknown•Tomcat
6.0.0 | 6.0.0:alpha | 6.0.1 | 6.0.1:alpha | 6.0.2 | 6.0.2:alpha | 6.0.2:beta | 6.0.4 | 6.0.4:alpha | 6.0.10 | 6.0.11 | 6.0.13 | 6.0.14 | 6.0.16 | 6.0.18 | 6.0.20 | 6.0.24 | 6.0.26 | 6.0.28 | 6.0.29 | 6.0.30 | 6.0.32 | 6.0.33 | 6.0.35 | 6.0.36 | 6.0.37 | 6.0.39 | 6.0.41 | 6.0.43 | 6.0.44 | 7.0.0:beta | 7.0.2:beta | 7.0.4:beta | 7.0.5:beta | 7.0.6 | 7.0.10 | 7.0.11 | 7.0.12 | 7.0.14 | 7.0.16 | 7.0.19 | 7.0.20 | 7.0.21 | 7.0.22 | 7.0.23 | 7.0.25 | 7.0.26 | 7.0.27 | 7.0.28 | 7.0.29 | 7.0.30 | 7.0.32 | 7.0.33 | 7.0.34 | 7.0.35 | 7.0.37 | 7.0.39 | 7.0.40 | 7.0.41 | 7.0.42 | 7.0.47 | 7.0.50 | 7.0.52 | 7.0.53 | 7.0.54 | 7.0.55 | 7.0.56 | 7.0.57 | 7.0.59 | 7.0.61 | 7.0.62 | 7.0.63 | 7.0.64 | 7.0.65 | 8.0.0:rc1 | 8.0.0:rc10 | 8.0.0:rc3 | 8.0.0:rc5 | 8.0.1 | 8.0.3 | 8.0.11 | 8.0.12 | 8.0.14 | 8.0.15 | 8.0.17 | 8.0.18 | 8.0.20 | 8.0.21 | 8.0.22 | 8.0.23 | 8.0.24 | 8.0.26 | 8.0.27 | 8.0.28 | 8.0.29 | 9.0.0:milestone1
- canonical•ubuntu_linux
12.04 | 14.04 | 15.10 | 16.04
- debian•debian_linux
7.0 | 8.0
- 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
References (74)
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
- http://svn.apache.org/viewvc?view=revision&revision=1715216
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://security.gentoo.org/glsa/201705-09
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
- http://tomcat.apache.org/security-9.html
- http://svn.apache.org/viewvc?view=revision&revision=1715213
- http://packetstormsecurity.com/files/135892/Apache-Tomcat-Directory-Disclosure.html
- http://www.ubuntu.com/usn/USN-3024-1
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
- http://rhn.redhat.com/errata/RHSA-2016-2045.html
- http://www.debian.org/security/2016/dsa-3530
- http://tomcat.apache.org/security-7.html
- http://svn.apache.org/viewvc?view=revision&revision=1715206
- http://marc.info/?l=bugtraq&m=145974991225029&w=2
- http://rhn.redhat.com/errata/RHSA-2016-1089.html
- http://tomcat.apache.org/security-8.html
- http://www.qcsec.com/blog/CVE-2015-5345-apache-tomcat-vulnerability.html
- https://access.redhat.com/errata/RHSA-2016:1087
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securitytracker.com/id/1035071
- https://bto.bluecoat.com/security-advisory/sa118
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
- https://access.redhat.com/errata/RHSA-2016:1088
- http://svn.apache.org/viewvc?view=revision&revision=1717212
- https://security.netapp.com/advisory/ntap-20180531-0001/
- http://tomcat.apache.org/security-6.html
- http://seclists.org/bugtraq/2016/Feb/146
- http://svn.apache.org/viewvc?view=revision&revision=1716894
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html
- http://svn.apache.org/viewvc?view=revision&revision=1717209
- http://www.securityfocus.com/bid/83328
- http://svn.apache.org/viewvc?view=revision&revision=1715207
- http://rhn.redhat.com/errata/RHSA-2016-2599.html
- http://www.debian.org/security/2016/dsa-3609
- http://svn.apache.org/viewvc?view=revision&revision=1717216
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
- http://www.debian.org/security/2016/dsa-3552
- http://seclists.org/fulldisclosure/2016/Feb/122
- https://bz.apache.org/bugzilla/show_bug.cgi?id=58765
- http://svn.apache.org/viewvc?view=revision&revision=1716882
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2015-5345
- https://github.com/apache/tomcat80/commit/c15c2aba8eb42425f9ebcfcaef579dada38ad3a2
- https://github.com/apache/tomcat/commit/127d8ea86d245846f0472865f0eb1eb111955e71
- https://github.com/apache/tomcat/commit/58c09b6217c546e1a251a82da227018f05277228
- https://github.com/apache/tomcat/commit/66daa4adc14b3e939659879153c0a579fdfcb099
- https://github.com/apache/tomcat/commit/7288bc70a14edcfeff0a96e333a858be374cfc64
- https://github.com/apache/tomcat/commit/816552abf6735fa37dfd37c8a7bfbdbd045477e0
- https://github.com/apache/tomcat/commit/8437193708e4bf6b2861a7953dc472f9dad49111
- https://github.com/apache/tomcat/commit/89cd0cf33a99dbbcf5c69050a83b6876e39269d7
- https://github.com/apache/tomcat/commit/a273b5f45cb46a273d06510a689fc314155a952d
- https://github.com/apache/tomcat/commit/c584c7c4ab0686e4125eefcd0afb32fb8269da3d
- https://github.com/apache/tomcat80/commit/2b643a4e36d318d55ec57fee57610671656d23c0
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://security.netapp.com/advisory/ntap-20180531-0001
- https://web.archive.org/web/20160321235514/http://www.securitytracker.com/id/1035071
- https://web.archive.org/web/20160804024910/http://www.securityfocus.com/bid/83328
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E
- https://github.com/apache/tomcat