CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.nifi:nifi-standard-processors Maven | From 0.1.0 | 1.6.0 |
org.apache.nifi:nifi-standard-processors Maven | From 0.1.0 | 1.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.
Other vulnerabilities in Apache Nifi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2017-5636 Injection in Apache NiFi
- CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
- CVE-2023-34468 Apache NiFi: Potential Code Injection with Database Services using H2
Sources
Also known as GHSA-42wx-65g4-5cxv.