CVE-2018-1259 Spring Data Commons, used in combination with XMLBeam, contains a property binder vulnerability caused by improper restriction of XML external entity references

High 7.5 Published Updated

An unauthenticated attacker can exploit an XML external entity vulnerability in Spring Data Commons to read arbitrary files from the server.

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

What is CVE-2018-1259?

CVE-2018-1259 is a high-severity vulnerability in Pivotal Spring Data Commons, published on 11 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Spring Data Commons, versions 1.13 prior to 1.13.12 and 2.0 prior to 2.0.7, used in combination with XMLBeam 1.4.14 or earlier versions, contains a property binder vulnerability caused by improper restriction of XML external entity references as underlying library XMLBeam does not restrict external reference expansion. An unauthenticated remote malicious user can supply specially crafted request parameters against Spring Data's projection-based request payload binding to access arbitrary files on the system.

Weakness: CWE-611

Which versions are affected by CVE-2018-1259?

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

PackageAffectedFixed in
org.springframework.data:spring-data-commons MavenFrom 1.13.01.13.12
org.springframework.data:spring-data-commons MavenFrom 1.13.01.13.12
org.springframework.data:spring-data-commons MavenFrom 2.0.02.0.7
org.springframework.data:spring-data-commons MavenFrom 2.0.02.0.7

Products include Broadcom Spring Data Commons, Pivotal Software Spring Data Rest, Vmware Spring Data Rest, Xmlbeam Xmlbeam.

How do I fix CVE-2018-1259?

Upgrade org.springframework.data:spring-data-commons to a fixed version for your release line: 1.13.12 or 2.0.7.

Is CVE-2018-1259 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-m929-7fr6-cvjg.

Is CVE-2018-1259 in your software?

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

Check your SBOMs for free