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

Apache NiFi: Potential Code Injection with Database Services using H2
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

Timeline

reported

confirmed

resolved

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

Want to know whenever a new CVE is published for Apache NiFi? stack.watch will email you.

 

Affected Versions

Apache Software Foundation Apache NiFi: apache nifi:

Exploit Probability

EPSS
77.21%
Percentile
98.95%

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.