Access Restriction Bypass Affecting tomcat7-lib package, versions <0:7.0.59-1.8.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (49th 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 IDSNYK-AMZN201803-TOMCAT7LIB-1685690
  • published27 Sept 2021
  • disclosed31 May 2014

Introduced: 31 May 2014

CVE-2014-0096  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat7-lib to version 0:7.0.59-1.8.amzn1 or higher.
This issue was patched in ALAS-2015-526.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat7-lib package and not the tomcat7-lib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not properly restrict XSLT stylesheets, which allows remote attackers to bypass security-manager restrictions and read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

References

CVSS Scores

version 3.1