CVE-2014-0054 Cross-Site Request Forgery in Spring Framework

Medium 6.8 Published Updated

Remote 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-2014-0054?

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

Official description

The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.

Weakness: CWE-352

Which versions are affected by CVE-2014-0054?

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

PackageAffectedFixed in
org.springframework:spring-webmvc MavenAll versions3.2.8
org.springframework:spring-webmvc MavenAll versions3.2.8
org.springframework:spring-webmvc MavenFrom 4.0.04.0.2
org.springframework:spring-webmvc MavenFrom 4.0.04.0.2

Products include Springsource Spring Framework, Vmware Spring Framework.

How do I fix CVE-2014-0054?

Upgrade org.springframework:spring-webmvc to a fixed version for your release line: 3.2.8 or 4.0.2.

Is CVE-2014-0054 being exploited?

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

All Vmware Spring Framework vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-0054, GHSA-8cmm-qj8g-fcp6.

Is CVE-2014-0054 in your software?

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

Check your SBOMs for free