漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
www.openwall.comhttp://www.openwall.com/lists/oss-security/2023/06/12/3↗packetstormsecurity.comhttp://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html↗lists.apache.orghttps://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8↗nifi.apache.orghttps://nifi.apache.org/security.html#CVE-2023-34468↗