Auth bypass in Apache Nifi
CVE-2024-56512
- CVSS v3
- 5.4 Medium
- Public exploits
- 1 repository
- EPSS
- 0.033 · 88.6th percentile
- Published
- 2024-12-28
Apache NiFi 1.10.0 through 2.0.0 are missing fine-grained authorization checking for Parameter Contexts, referenced Controller Services, and referenced Parameter Providers, when creating new Process Groups.
Creating a new Process Group can include binding to a Parameter Context, but in cases where the Process Group did not reference any Parameter values, the framework did not check user authorization for the bound Parameter Context. Missing authorization for a bound Parameter Context enabled clients to download non-sensitive Parameter values after creating the Process Group.
Creating a new Process Group can also include referencing existing Controller Services or Parameter Providers. The framework did not check user authorization for referenced Controller Services or Parameter Providers, enabling clients to create Process Groups and use these components that were otherwise unauthorized.
This vulnerability is limited in scope to authenticated users authorized to create Process Groups. The scope is further limited to deployments with component-based authorization policies. Upgrading to Apache NiFi 2.1.0 is the recommended mitigation, which includes authorization checking for Parameter and Controller Service references on Process Group creation.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.033, 88.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Nifi
- Apache Software Foundation Nifi — versions 1.10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- absholi7ly/CVE-2024-56512-Apache-NiFi-Exploit (4 stars, last pushed 2025-01-06): A tool to exploit the CVE-2024-56512 vulnerability in Apache NiFi, which allows unauthorized access to sensitive data through improperly secured APIs.
Also mentioned in 2 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/cjc8fns5kjsho0s7vonlnojokyfx47wn (vendor-advisory, Mailing List)
- www.openwall.com/lists/oss-security/2024/12/28/1 (Mailing List)
This CVE has public exploit evidence. See the latest CVEs with public exploits.