CVE-2023-34468 in the critical feed json
Apache NiFi: Potential Code Injection with Database Services using H2
published 3y ago modified 2mo ago also BIT-nifi-2023-34468 , EUVD-2023-1917 , GHSA-xm2m-2q6h-22jw
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 61.9%
- EPSS 61.9% chance of exploitation in 30 days, percentile 99.1%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
- maven org.apache.nifi:nifi-dbcp-base 1.22.0
- maven org.apache.nifi:nifi-hikari-dbcp-service 1.22.0
- maven org.apache.nifi:nifi-dbcp-service-nar 1.22.0
- bitnami nifi 1.22.0
- apache nifi 1.22.0
- github.com/apache/nifi@4faf3ea commit
- github.com/apache/nifi#7349 pull request
Is CVE-2023-34468 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- First public exploit (Metasploit exploit/linux/http/apache_nifi_h2_rce)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
61.87% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- Metasploit exploit/linux/http/apache_nifi_h2_rce Apache NiFi H2 Connection String Remote Code Execution metasploit exploit, excellent rank, 2023-06-12
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.nifi:nifi-dbcp-base | >=0.0.2, <1.22.0 |
1.22.0 |
| maven | org.apache.nifi:nifi-hikari-dbcp-service | >=0.0.2, <1.22.0 |
1.22.0 |
| maven | org.apache.nifi:nifi-dbcp-service-nar | >=0.0.2, <1.22.0 |
1.22.0 |
| bitnami | nifi | >=0.0.2, <1.22.0 |
1.22.0 |
Affected products
- Apache Software Foundation Apache NiFi
- apache nifi
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/apache/nifi/pull/7349
web
-
github.com
/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361
web
-
lists.apache.org
/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8
vendor-advisory, web, mailing-list, advisory
-
nifi.apache.org
/security.html#CVE-2023-34468
release-notes, web, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2023/06/12/3
web, mailing-list, third-party-advisory, advisory
-
packetstormsecurity.com
/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html
web, third-party-advisory, vdb-entry, advisory
-
cyfirma.com
/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-34468
advisory, web
-
exceptionfactory.com
/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468
web
-
github.com
/apache/nifi
package
-
issues.apache.org
/jira/browse/NIFI-11653
web
-
cyfirma.com
/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation
web
Sources
- CVE List CVE-2023-34468
- GitHub Advisory GHSA-xm2m-2q6h-22jw
- NVD CVE-2023-34468
- OSV BIT-nifi-2023-34468
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.