Directory Traversal Affecting tomcat7-docs-webapp package, versions <0:7.0.67-1.13.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.23% (62nd 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-AMZN201803-TOMCAT7DOCSWEBAPP-1693999
  • published27 Sept 2021
  • disclosed25 Feb 2016

Introduced: 25 Feb 2016

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

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat7-docs-webapp to version 0:7.0.67-1.13.amzn1 or higher.
This issue was patched in ALAS-2016-657.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat7-docs-webapp package and not the tomcat7-docs-webapp package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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