CWE
22
Advisory Published
CVE Published
Updated

CVE-2015-5174: Path Traversal

First published: Wed Sep 23 2015(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/tomcat<6.0.45
6.0.45
redhat/tomcat<7.0.65
7.0.65
redhat/tomcat<8.0.27
8.0.27
Debian=7.0
Debian=8.0
Tomcat=6.0.0
Tomcat=6.0.0-alpha
Tomcat=6.0.1
Tomcat=6.0.1-alpha
Tomcat=6.0.2
Tomcat=6.0.2-alpha
Tomcat=6.0.2-beta
Tomcat=6.0.4
Tomcat=6.0.4-alpha
Tomcat=6.0.10
Tomcat=6.0.11
Tomcat=6.0.13
Tomcat=6.0.14
Tomcat=6.0.16
Tomcat=6.0.18
Tomcat=6.0.20
Tomcat=6.0.24
Tomcat=6.0.26
Tomcat=6.0.28
Tomcat=6.0.29
Tomcat=6.0.30
Tomcat=6.0.32
Tomcat=6.0.33
Tomcat=6.0.35
Tomcat=6.0.36
Tomcat=6.0.37
Tomcat=6.0.39
Tomcat=6.0.41
Tomcat=6.0.43
Tomcat=6.0.44
Tomcat=7.0.0-beta
Tomcat=7.0.2-beta
Tomcat=7.0.4-beta
Tomcat=7.0.5-beta
Tomcat=7.0.6
Tomcat=7.0.10
Tomcat=7.0.11
Tomcat=7.0.12
Tomcat=7.0.14
Tomcat=7.0.16
Tomcat=7.0.19
Tomcat=7.0.20
Tomcat=7.0.21
Tomcat=7.0.22
Tomcat=7.0.23
Tomcat=7.0.25
Tomcat=7.0.26
Tomcat=7.0.27
Tomcat=7.0.28
Tomcat=7.0.29
Tomcat=7.0.30
Tomcat=7.0.32
Tomcat=7.0.33
Tomcat=7.0.34
Tomcat=7.0.35
Tomcat=7.0.37
Tomcat=7.0.39
Tomcat=7.0.40
Tomcat=7.0.41
Tomcat=7.0.42
Tomcat=7.0.47
Tomcat=7.0.50
Tomcat=7.0.52
Tomcat=7.0.53
Tomcat=7.0.54
Tomcat=7.0.55
Tomcat=7.0.56
Tomcat=7.0.57
Tomcat=7.0.59
Tomcat=7.0.61
Tomcat=7.0.62
Tomcat=7.0.63
Tomcat=7.0.64
Tomcat=8.0.0-rc1
Tomcat=8.0.0-rc10
Tomcat=8.0.0-rc3
Tomcat=8.0.0-rc5
Tomcat=8.0.1
Tomcat=8.0.11
Tomcat=8.0.12
Tomcat=8.0.14
Tomcat=8.0.15
Tomcat=8.0.17
Tomcat=8.0.18
Tomcat=8.0.20
Tomcat=8.0.21
Tomcat=8.0.22
Tomcat=8.0.23
Tomcat=8.0.24
Tomcat=8.0.26
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.10
Ubuntu=16.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2015-5174?

    CVE-2015-5174 has been classified as a medium severity vulnerability.

  • How do I fix CVE-2015-5174?

    To fix CVE-2015-5174, upgrade Apache Tomcat to versions 6.0.45, 7.0.65, or 8.0.27 and above.

  • Who is affected by CVE-2015-5174?

    CVE-2015-5174 affects Apache Tomcat versions prior to 6.0.45, 7.0.65, and 8.0.27.

  • What type of vulnerability is CVE-2015-5174?

    CVE-2015-5174 is a directory traversal vulnerability that allows authenticated users to bypass security restrictions.

  • What are the consequences of CVE-2015-5174?

    Exploiting CVE-2015-5174 could allow an attacker to list parent directories and access restricted files on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203