Description

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.

INFO

Published Date :

June 15, 2022, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 7:07 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2022-33140 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-33140 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache nifi
2 Apache nifi_registry
1 Linux linux_kernel
1 Apple macos
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-33140.

URL Resource
https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr Mailing List Vendor Advisory
https://nifi.apache.org/security.html#CVE-2022-33140 Issue Tracking Vendor Advisory
https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr Mailing List Vendor Advisory
https://nifi.apache.org/security.html#CVE-2022-33140 Issue Tracking Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 7 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 24, 2024, 4:31 p.m. This repo has been linked 83 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-33140 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-33140 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr
    Added Reference https://nifi.apache.org/security.html#CVE-2022-33140
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jun. 23, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr No Types Assigned https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr Mailing List, Vendor Advisory
    Changed Reference Type https://nifi.apache.org/security.html#CVE-2022-33140 No Types Assigned https://nifi.apache.org/security.html#CVE-2022-33140 Issue Tracking, Vendor Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration AND OR *cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* versions from (including) 1.10.0 up to (including) 1.16.2 *cpe:2.3:a:apache:nifi_registry:*:*:*:*:*:*:*:* versions from (including) 0.6.0 up to (including) 1.16.2 OR cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-33140 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

6.66 }} -2.47%

score

0.93730

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability