CVE-2013-4590: XML External Entity Information Disclosure in Apache Tomcat
- Vendors
- Debian ProjectOracle CorporationApache Software Foundation
CVE-2013-4590 is an XML External Entity (XXE) vulnerability in Apache Tomcat before 6.0.39, 7.x before 7.0.50, and 8.x before 8.0.0-RC10. Tomcat resolves external entities while processing certain application-supplied XML documents, including application and context descriptors, JSP XML documents, XML tag files, and tag-library descriptors. An attacker able to deploy or leverage an untrusted web application containing an external entity declaration and a corresponding entity reference can disclose Tomcat internal information and sensitive system data, potentially bypassing Java Security Manager restrictions. Shared-hosting environments that execute untrusted applications are particularly exposed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises confidentiality by exposing Tomcat internal information and sensitive system information, including local file contents accessible through the vulnerable XML-processing context. Java Security Manager restrictions intended to prevent an untrusted application from accessing this information can be bypassed. Arbitrary code execution or modification of system data is not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent deployment and execution of untrusted web applications and restrict application-deployment privileges to trusted administrators. Restrict access to Tomcat services and management interfaces to trusted hosts where practical. Network restrictions reduce exposure but do not eliminate exploitation by an attacker already able to deploy a malicious application. Do not rely on Java Security Manager restrictions alone to contain this flaw.
Remediation
Patch, then assume compromise.
Upgrade to Apache Tomcat 6.0.39 or later in the 6.x branch, 7.0.50 or later in the 7.x branch, or 8.0.0-RC10 or later in the 8.x branch, or install an applicable vendor package containing the backported fix. Fixed distribution packages include Red Hat Enterprise Linux 6 tomcat6-6.0.24-78.el6_5 and Debian wheezy tomcat6 6.0.45+dfsg-1~deb7u1. For bundled Tomcat deployments, apply the affected product vendor's security update. Restart Tomcat or the enclosing server process after updating.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-4590 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2013-4590 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2013-4590?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2013-4590.
- Is there a patch for CVE-2013-4590?
- Upgrade to Apache Tomcat 6.0.39 or later in the 6.x branch, 7.0.50 or later in the 7.x branch, or 8.0.0-RC10 or later in the 8.x branch, or install an applicable vendor package containing the backported fix. Fixed distribution packages include Red Hat Enterprise Linux 6 tomcat6-6.0.24-78.el6_5 and Debian wheezy tomcat6 6.0.45+dfsg-1~deb7u1.
- What products are affected by CVE-2013-4590?
- Apache Software Foundation Tomcat, Debian Project Debian Linux, and Oracle Corporation Solaris.
- How severe is CVE-2013-4590?
- CVE-2013-4590 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 9.5% (96th percentile) as of Oct 25, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.