---
title: "CVE-2014-0096\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2014-0096?format=md
keywords: index, follow
---

# CVE-2014-0096

Publication date 31 May 2014

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

### From the Ubuntu Security Team

It was discovered that Tomcat did not properly restrict XSLT stylesheets.
An attacker could use this issue with a crafted web application to bypass
security-manager restrictions and read arbitrary files.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tomcat6 | 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Fixed 6.0.39-1ubuntu0.1 |
| 13.10 saucy | Ignored end of life |
| 12.04 LTS precise | Fixed 6.0.35-1ubuntu3.5 |
| 10.04 LTS lucid | Fixed 6.0.24-2ubuntu1.16 |
| tomcat7 | 18.04 LTS bionic | Not affected |
| 17.10 artful | Not affected |
| 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Fixed 7.0.52-1ubuntu0.1 |
| 13.10 saucy | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| tomcat8 | 18.04 LTS bionic | Not affected |
| 17.10 artful | Not affected |
| 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Not in release |
| 12.04 LTS precise | Not in release |
| 10.04 LTS lucid | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2014-0096?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| tomcat6 | * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1585853> |
| tomcat7 | * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1578637> * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1578655> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0096)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2014-0096)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2014-0096)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2014-0096)

### Related Ubuntu Security Notices (USN)

+ [USN-2302-1](https://usn.ubuntu.com/USN-2302-1)
+ Tomcat vulnerabilities
+ 30 July 2014

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2014-0096>
