CVE-2024-56512
MEDIUM NUCLEIApache NiFi 1.10.0-2.0.0 - Authenticated Missing Authorization for Parameter Contexts and Controller Services
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2024-56512. PoCs published by iSee857, absholi7ly. A Nuclei detection template is also available.
AI-analyzed exploit summary The repository contains a functional exploit for CVE-2024-56512 targeting Apache NiFi, demonstrating command execution via session manipulation. The PoC includes a multi-threaded scanner for detecting vulnerable instances and executing commands.
Description
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.
Exploits (2)
The repository contains a functional exploit for CVE-2024-56512 targeting Apache NiFi, demonstrating command execution via session manipulation. The PoC includes a multi-threaded scanner for detecting vulnerable instances and executing commands.
This PoC exploits CVE-2024-56512 in Apache NiFi by querying multiple unauthenticated API endpoints to extract sensitive information such as process group details, user data, encryption keys, and system logs. It demonstrates an information leakage vulnerability due to improper access controls.
Nuclei Templates (1)
title:"Nifi"
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N