CVE-2017-12632 Apache NiFi host header poisoning issue

High 7.5 Published Updated

Attackers can force Apache NiFi to load resources from external servers via malicious host headers, potentially exposing internal data or bypassing security controls.

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

What is CVE-2017-12632?

CVE-2017-12632 is a high-severity server-side request forgery vulnerability in Apache Nifi, published on 23 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A malicious host header in an incoming HTTP request could cause NiFi to load resources from an external server. The fix to sanitize host headers and compare to a controlled whitelist was applied on the Apache NiFi 1.5.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

Weakness: CWE-20

Which versions are affected by CVE-2017-12632?

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.5.0
org.apache.nifi:nifi MavenFrom 1.0.01.5.0

Products include Apache Nifi.

How do I fix CVE-2017-12632?

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2017-12632 being exploited?

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

All Apache Nifi vulnerabilities

Sources

Also known as GHSA-w4x6-j349-9r57.

Is CVE-2017-12632 in your software?

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

Check your SBOMs for free