CVE-2017-12632: Apache NiFi host header poisoning issue
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.60759%
CWE
Published
5/14/2022
Updated
1/30/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.nifi:nifi | maven | >= 1.0.0, < 1.5.0 | 1.5.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability (CWE-20) explicitly involves improper Host header validation. The CVE description and NiFi security notes indicate the fix added header sanitization/whitelist checks. Key functions would be those handling proxy headers (X-Forwarded-Host/X-ProxyContextPath) and raw Host header retrieval, as these are the entry points for the malicious input. WebUtils.getProxiedHosts()
is a known utility for proxy header processing in NiFi, and JettyServer
's request handling would directly access headers. These functions would appear in runtime traces when processing HTTP
requests with malicious Host headers, making them primary candidates for detection.