ADVISORIES

GitHub Advisory Database

GHSA-qprx-q2r7-3rx6

Improper Input Validation in Apache Tomcat

Moderate CVE-2014-0096

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
All versions before 6.0.40 (fixed in 6.0.40)
Mavenorg.apache.tomcat:tomcat
From 7.0.0 before 7.0.54 (fixed in 7.0.54)
Mavenorg.apache.tomcat:tomcat
From 8.0.0 before 8.0.6 (fixed in 8.0.6)
Mavenorg.apache.tomcat:tomcat-catalina
All versions before 6.0.40 (fixed in 6.0.40)
Mavenorg.apache.tomcat:tomcat-catalina
From 7.0.0 before 7.0.54 (fixed in 7.0.54)
Mavenorg.apache.tomcat:tomcat-catalina
From 8.0.0 before 8.0.6 (fixed in 8.0.6)

References