CVE-2013-4152 Cross-Site Request Forgery in Spring Framework

Medium 6.8 Published Updated

Attackers can read arbitrary files and cause denial of service via XML External Entity injection in Spring Framework's JAXB marshaller.

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

What is CVE-2013-4152?

CVE-2013-4152 is a medium-severity vulnerability in Vmware Spring Framework, published on 23 Jan 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Spring OXM wrapper in Spring Framework before 3.2.4 and 4.0.0.M1, when using the JAXB marshaller, does not disable entity resolution, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via an XML external entity declaration in conjunction with an entity reference in a (1) DOMSource, (2) StAXSource, (3) SAXSource, or (4) StreamSource, aka an XML External Entity (XXE) issue.

Weakness: CWE-264

Which versions are affected by CVE-2013-4152?

2 open source packages ship an affected version, including org.springframework:spring-oxm. It affects 2 products.

PackageAffectedFixed in
org.springframework:spring-oxm MavenAll versions3.2.4.RELEASE
org.springframework:spring-oxm MavenAll versions3.2.4.RELEASE

Products include Springsource Spring Framework, Vmware Spring Framework.

How do I fix CVE-2013-4152?

Upgrade org.springframework:spring-oxm to 3.2.4.RELEASE or later.

Is CVE-2013-4152 being exploited?

There is no known exploitation of CVE-2013-4152 in the wild and no public exploit code.

All Vmware Spring Framework vulnerabilities

Sources

Also known as CLSA-2026-1780620680, DEBIAN-CVE-2013-4152, GHSA-rp4p-g69r-438x, MGASA-2014-0042.

Is CVE-2013-4152 in your software?

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

Check your SBOMs for free