CVE-2023-34468: Apache NiFi - Remote Code Execution
- Cve: CVE-2023-34468
- Name: Apache NiFi - Remote Code Execution
- 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.
- Impact: Authenticated users can configure malicious Database URLs, leading to remote code execution on the server.
- Remediation: Upgrade to version 1.22.0 or later which validates and rejects malicious H2 JDBC locations.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: User must be authenticated and authorized to configure Controller Services
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.61869
- Epss percentile: 0.99187
- Assignee: [email protected]
- Published at: 2023-06-12T16:15:10Z
- Age in days: 1261
- Modified at: 2026-06-17T06:03:42Z
- Patch available: yes
- Public exploits total: 9
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-34468
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
Same in every row:
- Source: poc-in-github
| Url | Added date |
|---|---|
| https://github.com/mohammed-moshii/CVE-2023-34468-Apache-NiFi-RCE | 2026-11-07 |
| https://github.com/luiskrnr/HTB_Helix_CVE-2023-34468 | 2026-09-09 |
| https://github.com/ozcanpng/CVE-2023-34468 | 2026-07-12 |
| https://github.com/spikeyjr/CVE-2023-34468-PoC | 2026-06-16 |
| https://github.com/Jeanpt/CVE-2023-34468 | 2026-05-10 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://nifi.apache.org/security.html#CVE-2023-34468 | Release Notes, Vendor Advisory |
| https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8 | Mailing List, Vendor Advisory |
| http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html | Third Party Advisory, VDB Entry |
| http://www.openwall.com/lists/oss-security/2023/06/12/3 | Mailing List, Third Party Advisory |
| https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/ | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:nifi | >= 0.0.2, < 1.22.0 | no | nvd | /v1/products/apache/nifi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/nifi | commit, package, pull | yes | /v1/repositories/apache/nifi |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 9
- Public exploit first date: 2023-06-12
- Remote: yes
- Authentication required: yes
- Exposed hosts: 246
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports