Summary
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.
Impact
The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths. Typical impact: varies by context: data corruption, logic bypass, or denial of service.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Remediation advice
org.apache.tomcat:tomcat to 6.0.40 or later; org.apache.tomcat:tomcat to 7.0.54 or later; org.apache.tomcat:tomcat to 8.0.6 or later; org.apache.tomcat:tomcat-catalina to 6.0.40 or later; org.apache.tomcat:tomcat-catalina to 7.0.54 or later; org.apache.tomcat:tomcat-catalina to 8.0.6 or later
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2014-0096? CVE-2014-0096 is a medium-severity improper input validation vulnerability in org.apache.tomcat:tomcat (maven), affecting versions < 6.0.40. It is fixed in 6.0.40, 7.0.54, 8.0.6. The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths.
- Which packages are affected by CVE-2014-0096?
org.apache.tomcat:tomcat(maven) (versions < 6.0.40)org.apache.tomcat:tomcat-catalina(maven) (versions < 6.0.40)
- Is there a fix for CVE-2014-0096? Yes. CVE-2014-0096 is fixed in 6.0.40, 7.0.54, 8.0.6. Upgrade to this version or later.
- Is CVE-2014-0096 exploitable, and should I be worried? Whether CVE-2014-0096 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2014-0096 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2014-0096?
- Upgrade
org.apache.tomcat:tomcatto 6.0.40 or later - Upgrade
org.apache.tomcat:tomcatto 7.0.54 or later - Upgrade
org.apache.tomcat:tomcatto 8.0.6 or later - Upgrade
org.apache.tomcat:tomcat-catalinato 6.0.40 or later - Upgrade
org.apache.tomcat:tomcat-catalinato 7.0.54 or later - Upgrade
org.apache.tomcat:tomcat-catalinato 8.0.6 or later
- Upgrade