CVE-2021-33191CWE-78

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

published August 24, 2021

CVSS
—
EPSS
4%
Percentile
90.5
In the wild
Unconfirmed
What it is

⚠️ A simple command could turn into a sneaky backdoor! The "agent-update" command in Apache NiFi MiNiFi C++ allows for arbitrary binaries to be executed with full privileges. 🔥 Imagine a hotel that lets guests submit their own maintenance requests without verification. One guest could request a deep cleaning, and another could sneak in a request to replace the security system with something of their choosing! If exploited, an attacker could execute any binary they desire on the system, potentially gaining total control. This could lead to devastating consequences like data breaches or total system compromise, making it crucial to address quickly.

Put simply

Imagine a hotel that lets guests submit their own maintenance requests without verification. One guest could request a deep cleaning, and another could sneak in a request to replace the security system with something of their choosing! This vulnerability arises from the 'c2-update' command, which can be manipulated to run arbitrary binaries with the same privileges as the application itself, allowing unauthorized access and control.

What to do

If exploited, an attacker could execute any binary they desire on the system, potentially gaining total control. This could lead to devastating consequences like data breaches or total system compromise, making it crucial to address quickly. Upgrade to Apache NiFi MiNiFi C++ version 0.10.0 or later to mitigate this risk. Additionally, review and restrict access to the 'update' commands to prevent unauthorized execution. Regularly audit your configurations for potential misuses. You've got this! With a quick update, you'll be a security hero in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04024 · 90.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2021-08-24T11:20Z
EPSS history
Timeline
  • 24 AUG 11:20Z
    MiNiFi CPP arbitrary script execution is possible on the agent's host machine through the c2 protocol
    cvelistv5