RCE in Apache Nifi Minifi C\+\+
CVE-2021-33191
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.040 · 90.8th percentile
- Published
- 2021-08-24
From Apache NiFi MiNiFi C++ version 0.5.0 the c2 protocol implements an "agent-update" command which was designed to patch the application binary. This "patching" command defaults to calling a trusted binary, but might be modified to an arbitrary value through a "c2-update" command. Said command is then executed using the same privileges as the application binary. This was addressed in version 0.10.0
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.040, 90.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Nifi Minifi C\+\+
- Apache Software Foundation Nifi - Minifi C++ — versions 0.5.0
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2021/08/24/1 (Mailing List, Third Party Advisory)
- [oss-security] 20210824 CVE-2021-33191: Apache NiFi - MiNiFi C++: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol (mailing-list, Mailing List, Third Party Advisory)
- [announce] 20210824 CVE-2021-33191: Apache NiFi - MiNiFi C++: MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol (mailing-list)