NetSight
medium4.3

CVE-2015-5174

Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.tomcat:tomcat>= 7.0.0, <= 7.0.647.0.65

Affected products

VendorProductAffected versions
DebianDebian Linux
Versions 7.0, 8.0
ApacheTomcat
Versions 6.0.0, 6.0.1, 6.0.2, 6.0.4, 6.0.10, 6.0.11
CanonicalUbuntu Linux
Versions 12.04, 14.04, 15.10, 16.04

Weakness classification

References