PT-2015-3174

CVE-2015-5174

·

Published

2015-10-01

·

Updated

2026-10-14

Description by

CVSS 3.1
4.3
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Tomcat versions 6.0.0 through 6.0.44 Apache Tomcat versions 7.0.0 through 7.0.64 Apache Tomcat versions 8.0.0 through 8.0.26
Description The issue is related to a directory traversal vulnerability in the RequestUtil.java file. This vulnerability 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. The vulnerability can be exploited by using the "/.." symbols in the path name, which can allow an attacker to obtain a directory listing for the directory in which the web application had been deployed, typically $CATALINA BASE/webapps. This should not be possible when running under a security manager.
Recommendations For Apache Tomcat versions 6.0.0 through 6.0.44, update to version 6.0.45 or later. For Apache Tomcat versions 7.0.0 through 7.0.64, update to version 7.0.65 or later. For Apache Tomcat versions 8.0.0 through 8.0.26, update to version 8.0.27 or later. As a temporary workaround, consider restricting access to the getResource, getResourceAsStream, and getResourcePaths methods to minimize the risk of exploitation.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-6QR6-X7JM-X2Q6
ALT-PU-2016-1193
CESA-2016_2045
CESA-2016_2599
DLA-435-1
DSA-3530-1
DSA-3552-1
DSA-3609-1
MGASA-2016-0090
OPENSUSE-SU-2016_0865-1
OPENSUSE-SU-2024:10446-1
OPENSUSE-SU-2024:13441-1
RHSA-2015:2659
RHSA-2015:2660
RHSA-2016:1432
RHSA-2016:1433
RHSA-2016:1434
RHSA-2016:2045
RHSA-2016_2045
RHSA-2016:2599
RHSA-2016_2599
SUSE-SU-2016:0769-1
SUSE-SU-2016_0769-1
SUSE-SU-2016:0822-1
SUSE-SU-2016_0822-1
SUSE-SU-2016:0839-1
SUSE-SU-2016_0839-1
USN-3024-1
Found an issue in the description? Have something to add? Feel free to write us 👾