CVE-2014-3004 Improper Restriction of XML External Entity Reference in Castor

Medium 4.3 Published Updated

Attackers can exploit XML External Entity vulnerabilities in the Castor library to read sensitive files or cause denial of service via crafted XML.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-3004?

CVE-2014-3004 is a medium-severity vulnerability in Opensuse Opensuse, published on 11 Jun 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The default configuration for the Xerces SAX Parser in Castor before 1.3.3 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XML document.

Weakness: CWE-611

Which versions are affected by CVE-2014-3004?

4 open source packages ship an affected version, including castor:castor and org.codehaus.castor:castor. It affects 3 products.

PackageAffectedFixed in
castor:castor MavenAll versions to 1.0None
castor:castor MavenAll versions to 1.0None
org.codehaus.castor:castor MavenAll versions1.3.3
org.codehaus.castor:castor MavenAll versions1.3.3

Products include Castor Project Castor, Opensuse Opensuse, Opensuse Project Opensuse.

How do I fix CVE-2014-3004?

Upgrade to a fixed version.

Is CVE-2014-3004 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3004 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as CVE-2018-18895, GHSA-jwwr-fjgh-cv2x, MGASA-2014-0556, UBUNTU-CVE-2014-3004.

Is CVE-2014-3004 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free