Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2015-5345

CVE-2015-5345: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 14, 2022 (updated July 6, 2022)

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.

References

  • lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
  • lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html
  • lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html
  • lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
  • marc.info/?l=bugtraq&m=145974991225029&w=2
  • packetstormsecurity.com/files/135892/Apache-Tomcat-Directory-Disclosure.html
  • rhn.redhat.com/errata/RHSA-2016-1089.html
  • rhn.redhat.com/errata/RHSA-2016-2045.html
  • rhn.redhat.com/errata/RHSA-2016-2599.html
  • seclists.org/bugtraq/2016/Feb/146
  • seclists.org/fulldisclosure/2016/Feb/122
  • svn.apache.org/viewvc?view=revision&revision=1715206
  • svn.apache.org/viewvc?view=revision&revision=1715207
  • svn.apache.org/viewvc?view=revision&revision=1715213
  • svn.apache.org/viewvc?view=revision&revision=1715216
  • svn.apache.org/viewvc?view=revision&revision=1716882
  • svn.apache.org/viewvc?view=revision&revision=1716894
  • svn.apache.org/viewvc?view=revision&revision=1717209
  • svn.apache.org/viewvc?view=revision&revision=1717212
  • svn.apache.org/viewvc?view=revision&revision=1717216
  • tomcat.apache.org/security-6.html
  • tomcat.apache.org/security-7.html
  • tomcat.apache.org/security-8.html
  • tomcat.apache.org/security-9.html
  • www.debian.org/security/2016/dsa-3530
  • www.debian.org/security/2016/dsa-3552
  • www.debian.org/security/2016/dsa-3609
  • www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
  • www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
  • www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
  • www.qcsec.com/blog/CVE-2015-5345-apache-tomcat-vulnerability.html
  • www.ubuntu.com/usn/USN-3024-1
  • access.redhat.com/errata/RHSA-2016:1087
  • access.redhat.com/errata/RHSA-2016:1088
  • bto.bluecoat.com/security-advisory/sa118
  • bz.apache.org/bugzilla/show_bug.cgi?id=58765
  • github.com/advisories/GHSA-rh8q-vjgf-gf74
  • h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
  • h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
  • h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
  • kc.mcafee.com/corporate/index?page=content&id=SB10156
  • lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
  • lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2015-5345
  • security.gentoo.org/glsa/201705-09
  • security.netapp.com/advisory/ntap-20180531-0001/

Code Behaviors & Features

Detect and mitigate CVE-2015-5345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.0.45, all versions starting from 7.0.0 before 7.0.68, all versions starting from 8.0.0.rc1 before 8.0.30, version 9.0.0.m1

Fixed versions

  • 8.0.30
  • 9.0.0.M2
  • 6.0.45
  • 7.0.68

Solution

Upgrade to versions 8.0.30, 9.0.0.M2, 6.0.45, 7.0.68 or above.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.tomcat/tomcat/CVE-2015-5345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.