CVE-2018-8038 High severity vulnerability that affects org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9, org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2, and org.apache.cxf.fediz:fediz-spring3

High 7.5 Published Updated

Attackers can exploit insufficient DTD disabling in Apache CXF Fediz to perform XML External Entity attacks, potentially reading sensitive data or causing denial of service.

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

CVE-2018-8038 is a high-severity vulnerability in Apache CXF Fediz, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Versions of Apache CXF Fediz prior to 1.4.4 do not fully disable Document Type Declarations (DTDs) when either parsing the Identity Provider response in the application plugins, or in the Identity Provider itself when parsing certain XML-based parameters.

Weakness: CWE-20

Which versions are affected by CVE-2018-8038?

10 open source packages ship an affected version, including org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9 and org.apache.cxf.fediz:fediz-spring. It affects 1 product.

PackageAffectedFixed in
org.apache.cxf.fediz:fediz-jetty8 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-jetty8 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-jetty9 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-jetty9 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-spring MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-spring MavenAll versions1.4.4
4 more packages
org.apache.cxf.fediz:fediz-spring2 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-spring2 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-spring3 MavenAll versions1.4.4
org.apache.cxf.fediz:fediz-spring3 MavenAll versions1.4.4

Products include Apache Cxf Fediz.

How do I fix CVE-2018-8038?

Upgrade org.apache.cxf.fediz:fediz-jetty8 to 1.4.4 or later.

Is CVE-2018-8038 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-w3gh-g32m-cvhr.

Is CVE-2018-8038 in your software?

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

Check your SBOMs for free