CVE-2017-12623 XML External Entity Reference in Apache NiFi

Medium 6.5 Published Updated

An authorized user can exploit an XML External Entity vulnerability in Apache NiFi to access sensitive files via malicious templates.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12623?

CVE-2017-12623 is a medium-severity vulnerability in Apache Nifi, published on 10 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An authorized user could upload a template which contained malicious code and accessed sensitive files via an XML External Entity (XXE) attack. The fix to properly handle XML External Entities was applied on the Apache NiFi 1.4.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

Weakness: CWE-611

Which versions are affected by CVE-2017-12623?

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

PackageAffectedFixed in
org.apache.nifi:nifi MavenFrom 1.0.01.4.0
org.apache.nifi:nifi MavenFrom 1.0.01.4.0

Products include Apache Nifi.

How do I fix CVE-2017-12623?

Upgrade org.apache.nifi:nifi to 1.4.0 or later.

Is CVE-2017-12623 being exploited?

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

All Apache Nifi vulnerabilities

Sources

Also known as GHSA-qj7f-j6h9-g5rq.

Is CVE-2017-12623 in your software?

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

Check your SBOMs for free