ADVISORIES

GitHub Advisory Database

GHSA-prc3-7f44-w48j

Missing XML Validation in Apache Tomcat

Moderate CVE-2014-0119

Details

Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) 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, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.

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)
Mavenorg.apache.tomcat:tomcat-jasper
All versions before 6.0.40 (fixed in 6.0.40)
Mavenorg.apache.tomcat:tomcat-jasper
From 7.0.0 before 7.0.54 (fixed in 7.0.54)
Mavenorg.apache.tomcat:tomcat-jasper
From 8.0.0 before 8.0.6 (fixed in 8.0.6)

References