QID 730585

Date Published: 2022-08-04

QID 730585: Apache NiFi Command Injection Vulnerability (NIFI-10114)

Apache NiFi is a framework to support highly scalable and flexible dataflows. It can be run on laptops up through clusters of enterprise-class servers. Instead of dictating a particular dataflow or behavior, it empowers you to design your own optimal dataflow tailored to your specific environment.

CVE-2022-33140: The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms.

Affected Versions:
Apache NiFi versions from 1.10.0 prior to 1.16.3
NOTE:
This CVE is only affected to Linux and macOS platforms.

QID Detection Logic:(Unauthenticated)
The QID sends a request to nifi-api/flow/about to check the vulnerable version of Apache NiFi.

Successful exploitation of this vulnerability may allow an attacker to execute arbitrary command on the target system.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6 severity.
  • Solution
    The vendor has release patch, please check CVE-2022-33140Workaround:
    Disabling the ShellUserGroupProvider mitigates the vulnerability.
    Vendor References

    CVEs related to QID 730585

    Software Advisories
    Advisory ID Software Component Link
    Apache NiFi Advisory URL Logo lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr