Skip to content

CVE-2015-5174 Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

MediumCVSS 4.3 EPSS 12.6% Public exploit
Published
Updated
Exploit status
Public exploit available
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

6 packages: 3 fixed.

PackageAffectedFixed inStatus
org.apache.tomcat/tomcat(Maven) = 7.0.35; = 7.0.37; = 7.0.39; = 7.0.40 +42 more 6.0.45, 7.0.65, 8.0.27 Fixed
ubuntu/tomcat6(Ubuntu 14.04) < 6.0.39-1ubuntu0.1; = 6.0.37-1; = 6.0.39-1 6.0.39-1ubuntu0.1 Fixed
ubuntu/tomcat7(Ubuntu 14.04) < 7.0.52-1ubuntu0.6; = 7.0.42-1; = 7.0.47-1; = 7.0.50-1 +3 more 7.0.52-1ubuntu0.6 Fixed
apache tomcat = 6.0.0; = 6.0.0-alpha; = 6.0.1; = 6.0.1-alpha +86 more No fix listed Versions listed
Canonical Ubuntu Linux = 12.04; = 14.04; = 15.10; = 16.04 No fix listed Versions listed
debian linux = 7.0; = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.tomcat/tomcat(Maven) >= 8.0.0-RC1, < 8.0.27 8.0.27
org.apache.tomcat/tomcat(Maven) = 8.0.0-RC1 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.0-RC10 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.0-RC3 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.0-RC5 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.1 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.11 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.12 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.14 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.15 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.17 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.18 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.20 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.21 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.22 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.23 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.24 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.26 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.3 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.5 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.8 No fix listed
org.apache.tomcat/tomcat(Maven) = 8.0.9 No fix listed
org.apache.tomcat/tomcat(Maven) >= 7.0.0, < 7.0.65 7.0.65
org.apache.tomcat/tomcat(Maven) = 7.0.35 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.37 No fix listed
Show 127 more
ProductAffected versionsFixed in
org.apache.tomcat/tomcat(Maven) = 7.0.39 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.40 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.41 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.42 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.47 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.50 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.52 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.53 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.54 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.55 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.56 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.57 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.59 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.61 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.62 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.63 No fix listed
org.apache.tomcat/tomcat(Maven) = 7.0.64 No fix listed
org.apache.tomcat/tomcat(Maven) >= 6.0.0, < 6.0.45 6.0.45
org.apache.tomcat/tomcat(Maven) >= 7.0.0, <= 7.0.64 No fix listed
org.apache.tomcat/tomcat(Maven) >= 6.0.0, <= 6.0.44 No fix listed
org.apache.tomcat/tomcat(Maven) >= 8.0.0-RC1, <= 8.0.26 No fix listed
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed
apache tomcat = 6.0.0 No fix listed
apache tomcat = 6.0.0-alpha No fix listed
apache tomcat = 6.0.1 No fix listed
apache tomcat = 6.0.1-alpha No fix listed
apache tomcat = 6.0.2 No fix listed
apache tomcat = 6.0.2-alpha No fix listed
apache tomcat = 6.0.2-beta No fix listed
apache tomcat = 6.0.4 No fix listed
apache tomcat = 6.0.4-alpha No fix listed
apache tomcat = 6.0.10 No fix listed
apache tomcat = 6.0.11 No fix listed
apache tomcat = 6.0.13 No fix listed
apache tomcat = 6.0.14 No fix listed
apache tomcat = 6.0.16 No fix listed
apache tomcat = 6.0.18 No fix listed
apache tomcat = 6.0.20 No fix listed
apache tomcat = 6.0.24 No fix listed
apache tomcat = 6.0.26 No fix listed
apache tomcat = 6.0.28 No fix listed
apache tomcat = 6.0.29 No fix listed
apache tomcat = 6.0.30 No fix listed
apache tomcat = 6.0.32 No fix listed
apache tomcat = 6.0.33 No fix listed
apache tomcat = 6.0.35 No fix listed
apache tomcat = 6.0.36 No fix listed
apache tomcat = 6.0.37 No fix listed
apache tomcat = 6.0.39 No fix listed
apache tomcat = 6.0.41 No fix listed
apache tomcat = 6.0.43 No fix listed
apache tomcat = 6.0.44 No fix listed
apache tomcat = 7.0.0-beta No fix listed
apache tomcat = 7.0.2-beta No fix listed
apache tomcat = 7.0.4-beta No fix listed
apache tomcat = 7.0.5-beta No fix listed
apache tomcat = 7.0.6 No fix listed
apache tomcat = 7.0.10 No fix listed
apache tomcat = 7.0.11 No fix listed
apache tomcat = 7.0.12 No fix listed
apache tomcat = 7.0.14 No fix listed
apache tomcat = 7.0.16 No fix listed
apache tomcat = 7.0.19 No fix listed
apache tomcat = 7.0.20 No fix listed
apache tomcat = 7.0.21 No fix listed
apache tomcat = 7.0.22 No fix listed
apache tomcat = 7.0.23 No fix listed
apache tomcat = 7.0.25 No fix listed
apache tomcat = 7.0.26 No fix listed
apache tomcat = 7.0.27 No fix listed
apache tomcat = 7.0.28 No fix listed
apache tomcat = 7.0.29 No fix listed
apache tomcat = 7.0.30 No fix listed
apache tomcat = 7.0.32 No fix listed
apache tomcat = 7.0.33 No fix listed
apache tomcat = 7.0.34 No fix listed
apache tomcat = 7.0.35 No fix listed
apache tomcat = 7.0.37 No fix listed
apache tomcat = 7.0.39 No fix listed
apache tomcat = 7.0.40 No fix listed
apache tomcat = 7.0.41 No fix listed
apache tomcat = 7.0.42 No fix listed
apache tomcat = 7.0.47 No fix listed
apache tomcat = 7.0.50 No fix listed
apache tomcat = 7.0.52 No fix listed
apache tomcat = 7.0.53 No fix listed
apache tomcat = 7.0.54 No fix listed
apache tomcat = 7.0.55 No fix listed
apache tomcat = 7.0.56 No fix listed
apache tomcat = 7.0.57 No fix listed
apache tomcat = 7.0.59 No fix listed
apache tomcat = 7.0.61 No fix listed
apache tomcat = 7.0.62 No fix listed
apache tomcat = 7.0.63 No fix listed
apache tomcat = 7.0.64 No fix listed
apache tomcat = 8.0.0-rc1 No fix listed
apache tomcat = 8.0.0-rc10 No fix listed
apache tomcat = 8.0.0-rc3 No fix listed
apache tomcat = 8.0.0-rc5 No fix listed
apache tomcat = 8.0.1 No fix listed
apache tomcat = 8.0.11 No fix listed
apache tomcat = 8.0.12 No fix listed
apache tomcat = 8.0.14 No fix listed
apache tomcat = 8.0.15 No fix listed
apache tomcat = 8.0.17 No fix listed
apache tomcat = 8.0.18 No fix listed
apache tomcat = 8.0.20 No fix listed
apache tomcat = 8.0.21 No fix listed
apache tomcat = 8.0.22 No fix listed
apache tomcat = 8.0.23 No fix listed
apache tomcat = 8.0.24 No fix listed
apache tomcat = 8.0.26 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 15.10 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
ubuntu/tomcat6(Ubuntu:14.04) < 6.0.39-1ubuntu0.1 6.0.39-1ubuntu0.1
ubuntu/tomcat6(Ubuntu:14.04) = 6.0.37-1 No fix listed
ubuntu/tomcat6(Ubuntu:14.04) = 6.0.39-1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) < 7.0.52-1ubuntu0.6 7.0.52-1ubuntu0.6
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.42-1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.47-1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.50-1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.52-1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.52-1ubuntu0.1 No fix listed
ubuntu/tomcat7(Ubuntu:14.04) = 7.0.52-1ubuntu0.3 No fix listed

References