Directory Traversal Affecting tomcat-webapps package, versions <0:7.0.69-10.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-TOMCATWEBAPPS-4628938
  • published26 Jul 2021
  • disclosed22 Feb 2016

Introduced: 22 Feb 2016

CVE-2015-5174  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 tomcat-webapps to version 0:7.0.69-10.el7 or higher.
This issue was patched in RHSA-2016:2599.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat-webapps package and not the tomcat-webapps package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

References