CVE-2013-7315 Missing XML Validation in Spring Framework

Medium 6.8 Published Updated

Attackers can read arbitrary files and cause denial of service via crafted XML due to external entity resolution in Spring MVC.

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-7315?

CVE-2013-7315 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 MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolution for the StAX XMLInputFactory, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML with JAXB, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152. NOTE: this issue was SPLIT from CVE-2013-4152 due to different affected versions.

Weakness: CWE-264

Which versions are affected by CVE-2013-7315?

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-7315?

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

Is CVE-2013-7315 being exploited?

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

All Vmware Spring Framework vulnerabilities

Sources

Also known as CLSA-2026-1792686902, CLSA-2026-1792687219, DEBIAN-CVE-2013-7315, GHSA-vp63-rrcm-9mph.

Is CVE-2013-7315 in your software?

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

Check your SBOMs for free