Description
Apache NiFi 1.21.0 through 1.23.0 support JDBC and JNDI JMS access in several Processors and Controller Services with connection URL validation that does not provide sufficient protection against crafted inputs. An authenticated and authorized user can bypass connection URL validation using custom input formatting. The resolution enhances connection URL validation and introduces validation for additional related properties. Upgrading to Apache NiFi 1.23.1 is the recommended mitigation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache NiFi | 1.21.0 – ≤ 1.23.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
mbadanoiu/CVE-2023-40037 ★ 0 · Nov 23, 2023
CVE-2023-40037: Incomplete Validation of JDBC and JNDI Connection URLs in Apache NiFi
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi-dbcp-base | >= 1.21.0, < 1.23.1 | 1.23.1 | GHSA-23qf-3jf9-h3q9 |
| Maven | org.apache.nifi:nifi-dbcp-service-api | >= 1.21.0, < 1.23.1 | 1.23.1 | GHSA-23qf-3jf9-h3q9 |
| Maven | org.apache.nifi:nifi-dbcp-service-bundle | >= 1.21.0, < 1.23.1 | 1.23.1 | GHSA-23qf-3jf9-h3q9 |
| Maven | org.apache.nifi:nifi-jms-processors | >= 1.21.0, < 1.23.1 | 1.23.1 | GHSA-23qf-3jf9-h3q9 |
Advisories 1
- WID-SEC-2023-2100 Apache Nifi: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Aug 20, 2023