Apache NiFi <=1.21.0 DBCP/Hikari Pool Untrusted H2 URL RCE
CVE-2023-34468 Published on June 12, 2023

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution. The resolution validates the Database URL and rejects H2 JDBC locations. You are recommended to upgrade to version 1.22.0 or later which fixes this issue.

Vendor Advisory NVD

Vulnerability Analysis

CVE-2023-34468 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2023-34468 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2023-34468

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-34468 are published in Apache NiFi:

 

Affected Versions

Apache Software Foundation Apache NiFi: apache nifi:

Exploit Probability

EPSS
77.21%
Percentile
98.91%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.