Apache NiFi: Missing Authorization when Attaching a Parameter Provider during Flow Replacement
Summary
Apache NiFi 1.18.0 through 2.12.0 allow a Process Group flow replacement to attach a Parameter Provider to an existing Parameter Context. The direct Parameter Context API requires write permission for this change, but the flow replacement path requires write permission only when a parameter is added...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache NiFi |
1.18.0 – 2.12.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Apache NiFi 1.18.0 through 2.12.0 allow a Process Group flow replacement to attach a Parameter Provider to an existing Parameter Context. The direct Parameter Context API requires write permission for this change, but the flow replacement path requires write permission only when a parameter is added or the inherited Parameter Context list changes. An authenticated user with write permission on a Process Group, but only read permission on a shared Parameter Context, could attach a Parameter Provider and mark the association as synchronized. The change does not fetch or apply parameter values. A subsequent authorized parameter application is required before components bound to the context are affected. Apache NiFi installations that do not implement different levels of authorization for reading and modifying Parameter Contexts are not subject to this vulnerability. Upgrading to Apache NiFi 2.13.0 is the recommended mitigation, which requires write permission on an existing Parameter Context when the proposed flow would attach a Parameter Provider.
Source: oss-security (Openwall) NVD