XML External Entity (XXE) Injection Affecting tomcat-jsp-2.2-api package, versions <0:7.0.42-6.el7_0


Severity

Recommended
medium

Based on Red Hat Enterprise 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 Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-TOMCATJSP22API-4991389
  • published26 Jul 2021
  • disclosed27 May 2014

Introduced: 27 May 2014

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

How to fix?

Upgrade RHEL:7 tomcat-jsp-2.2-api to version 0:7.0.42-6.el7_0 or higher.
This issue was patched in RHSA-2014:0827.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat-jsp-2.2-api package and not the tomcat-jsp-2.2-api package as distributed by RHEL. See How to fix? for RHEL:7 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