Improper Neutralization of Command Elements in Shell User Group Provider
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.16.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 proof of concept on GitHub
Summary
The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms. The ShellUserGroupProvider is not included in the default configuration. Command injection requires ShellUserGroupProvider to be one of the enabled User Group Providers in the Authorizers configuration. Command injection also requires an authenticated user with elevated privileges. Apache NiFi requires an authenticated user with authorization to modify access policies in order to execute the command. Apache NiFi Registry requires an authenticated user with authorization to read user groups in order to execute the command. The resolution removes command formatting based on user-provided arguments.
Timeline
- CVE published
- Record last updated
Affected versions
- Apache Software Foundation Apache NiFi
From up to 1.16.2 · through 1.16.2; From 1.10.0
- Apache Software Foundation Apache NiFi Registry
From up to 1.16.2 · through 1.16.2; From 0.6.0
- org.apache.nifi.registry:nifi-registry-coreMaven
From 0.6.0 · fixed in 1.16.3
- org.apache.nifi:nifiMaven
From 1.10.0 · fixed in 1.16.3