Skip to main content
← All vulnerabilities
CVE-2023-34468GHSA-XM2M-2Q6H-22JWBIT-NIFI-2023-34468

Apache NiFi: Potential Code Injection with Database Services using H2

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.22.0
1 Metasploit module, 7 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache NiFi

    From 0.0.2 · through 1.21.0

  • org.apache.nifi:nifi-dbcp-baseMaven

    From 0.0.2 · fixed in 1.22.0

  • org.apache.nifi:nifi-hikari-dbcp-serviceMaven

    From 0.0.2 · fixed in 1.22.0

  • org.apache.nifi:nifi-dbcp-service-narMaven

    From 0.0.2 · fixed in 1.22.0

References 13

nifi.apache.org

lists.apache.org

openwall.com

packetstormsecurity.com

cyfirma.com

GitHub · rapid7/metasploit-framework

GitHub · Jeanpt/CVE-2023-34468

GitHub · luiskrnr/HTB_Helix_CVE-2023-34468

GitHub · mbadanoiu/CVE-2023-34468

GitHub · ozcanpng/CVE-2023-34468

GitHub · sbouabid-sec/CVE-2023-34468-POC

GitHub · shoucheng3/asf__nifi_CVE-2023-34468_1-21-00

GitHub · spikeyjr/CVE-2023-34468-PoC