CVE-2014-3625 Improper Limitation of a Pathname to a Restricted Directory in Spring Framework

Medium 5.0 Published Updated

Remote attackers can read arbitrary files via directory traversal in Spring Framework static resource handling.

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

CVE-2014-3625 is a medium-severity path traversal vulnerability in Vmware Spring Framework, published on 20 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in Pivotal Spring Framework 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 allows remote attackers to read arbitrary files via unspecified vectors, related to static resource handling.

Weakness: CWE-22

Which versions are affected by CVE-2014-3625?

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

PackageAffectedFixed in
org.springframework:spring-webmvc MavenFrom 3.0.43.2.12
org.springframework:spring-webmvc MavenFrom 3.0.43.2.12
org.springframework:spring-webmvc MavenFrom 4.0.04.0.8
org.springframework:spring-webmvc MavenFrom 4.0.04.0.8
org.springframework:spring-webmvc MavenFrom 4.1.04.1.2
org.springframework:spring-webmvc MavenFrom 4.1.04.1.2

Products include Pivotal Software Spring Framework, Vmware Spring Framework.

How do I fix CVE-2014-3625?

Upgrade org.springframework:spring-webmvc to a fixed version for your release line: 3.2.12, 4.0.8 or 4.1.2.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2014-3625 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

All Vmware Spring Framework vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-3625, GHSA-hhm4-hwq6-3c6w, UBUNTU-CVE-2014-3625.

Is CVE-2014-3625 in your software?

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

Check your SBOMs for free