Apache NiFi 0.0.2-1.21.0 - Authenticated Remote Code Execution via H2 JDBC Database URL
Title source: llmExploitation Summary
EIP tracks 7 public exploits for CVE-2023-34468.
PoCs published by mbadanoiu, arif-s3d0, sbouabid-sec, including Metasploit module exploits/linux/http/apache_nifi_h2_rce.
AI-analyzed exploit summary This repository provides a writeup and references for CVE-2023-34468, an RCE vulnerability in Apache NiFi's DBCPConnectionPool and HikariCPConnectionPool due to improper validation of H2 database URLs. It includes links to a detailed PDF, Metasploit module, and related resources.
Description
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.
Exploits (7)
This repository provides a writeup and references for CVE-2023-34468, an RCE vulnerability in Apache NiFi's DBCPConnectionPool and HikariCPConnectionPool due to improper validation of H2 database URLs. It includes links to a detailed PDF, Metasploit module, and related resources.
This repository contains a functional exploit for CVE-2023-34468, targeting Apache NiFi versions 0.0.2 through 1.21.0. The exploit leverages the H2 database driver's JavaScript execution capability within JDBC connection strings to achieve remote code execution via a series of NiFi REST API calls.
This repository contains a functional exploit for CVE-2023-34468, targeting Apache NiFi 1.21.0. The exploit leverages a DBCPConnectionPool controller service and an ExecuteSQL processor to achieve remote code execution via a crafted SQL payload delivered over HTTP.
This repository contains a functional Python exploit for CVE-2023-34468, targeting Apache NiFi versions 0.0.2 through 1.21.0. The exploit leverages H2 database connection string manipulation to achieve remote code execution via embedded JavaScript triggers.
This repository contains a functional exploit for CVE-2023-34468, targeting Apache NiFi 1.21.0. The exploit leverages a DBCPConnectionPool controller service and an ExecuteSQL processor to achieve remote code execution via a crafted SQL payload delivered over HTTP.
This repository appears to be a legitimate Apache NiFi project README with no exploit code. It contains documentation and setup instructions for Apache NiFi, not a PoC for CVE-2023-34468.
This Metasploit module exploits CVE-2023-34468 in Apache NiFi by leveraging the H2 database driver's JavaScript trigger functionality to execute arbitrary commands via a crafted JDBC connection string. It requires authentication and targets versions 0.0.2 through 1.21.0.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H