Vulnerability · Published Aug 24, 2021 · Assigned by apache

CVE-2021-33191MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol

Critical 9.8

In plain English

A critical-severity OS command injection in Apache NiFi - MiNiFi C++ from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities).

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)4.0%top 9.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache NiFi - MiNiFi C++ 0.5.0 – before Apache NiFi - MiNiFi C++*

Weakness: CWE-78

References