CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi

Critical 9.8 Published Updated

Attackers can exploit an XML External Entity vulnerability in the SplitXML processor to disclose information or execute remote code.

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

CVE-2018-1309 is a critical vulnerability in Apache Nifi, published on 23 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache NiFi External XML Entity issue in SplitXML processor. Malicious XML content could cause information disclosure or remote code execution. The fix to disable external general entity parsing and disallow doctype declarations was applied on the Apache NiFi 1.6.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

Weakness: CWE-611

Which versions are affected by CVE-2018-1309?

2 open source packages ship an affected version, including org.apache.nifi:nifi-standard-processors. It affects 1 product.

PackageAffectedFixed in
org.apache.nifi:nifi-standard-processors MavenFrom 0.1.01.6.0
org.apache.nifi:nifi-standard-processors MavenFrom 0.1.01.6.0

Products include Apache Nifi.

How do I fix CVE-2018-1309?

Upgrade org.apache.nifi:nifi-standard-processors to 1.6.0 or later.

Is CVE-2018-1309 being exploited?

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

All Apache Nifi vulnerabilities

Sources

Also known as GHSA-42wx-65g4-5cxv.

Is CVE-2018-1309 in your software?

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

Check your SBOMs for free