{"id":"CVE-2024-32030","published":"2024-06-19T16:35:34Z","modified":"2026-11-03T23:57:51Z","title":"Remote code execution via JNDI resolution in JMX metrics collection in Kafka UI","vendor":"provectus","product":"kafka-ui","tier":"tail","description":{"text":"Kafka UI is an Open-Source Web UI for Apache Kafka Management. Kafka UI API allows users to connect to different Kafka brokers by specifying their network address and port. As a separate feature, it also provides the ability to monitor the performance of Kafka brokers by connecting to their JMX ports. JMX is based on the RMI protocol, so it is inherently susceptible to deserialization attacks. A potential attacker can exploit this feature by connecting Kafka UI backend to its own malicious broker. This vulnerability affects the deployments where one of the following occurs: 1. dynamic.config.enabled property is set in settings. It's not enabled by default, but it's suggested to be enabled in many tutorials for Kafka UI, including its own README.md. OR  2. an attacker has access to the Kafka cluster that is being connected to Kafka UI. In this scenario the attacker can exploit this vulnerability to expand their access and execute code on Kafka UI as well. Instead of setting up a legitimate JMX port, an attacker can create an RMI listener that returns a malicious serialized object for any RMI call. In the worst case it could lead to remote code execution as Kafka UI has the required gadget chains in its classpath. This issue may lead to post-auth remote code execution. This is particularly dangerous as Kafka-UI does not have authentication enabled by default. This issue has been addressed in version 0.7.2. All users are advised to upgrade. There are no known workarounds for this vulnerability. These issues were discovered and reported by the GitHub Security lab and is also tracked as GHSL-2023-230.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.51051,"percentile":0.98959,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-229_GHSL-2023-230_kafka-ui/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/provectus/kafka-ui/pull/4427","tags":["x_refsource_MISC"]},{"url":"https://github.com/provectus/kafka-ui/commit/83b5a60cc08501b570a0c4d0b4cdfceb1b88d6b7#diff-37e769f4709c1e78c076a5949bbcead74e969725bfd89c7c4ba6d6f229a411e6R36","tags":["x_refsource_MISC"]}],"priority":{"score":30.5,"factors":[{"name":"EPSS percentile","points":19.79},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-06-24","earliestUrl":"https://github.com/huseyinstif/CVE-2024-32030-Nuclei-Template","repos":[{"name":"huseyinstif/CVE-2024-32030-Nuclei-Template","url":"https://github.com/huseyinstif/CVE-2024-32030-Nuclei-Template","stars":1,"created":"2024-06-24"}]},"first":{"date":"2024-06-24","source":"PoC-in-GitHub","url":"https://github.com/huseyinstif/CVE-2024-32030-Nuclei-Template"},"provenance":"source"},"vendorSlug":"provectus","affectedVersions":[{"vendor":"provectus","product":"kafka-ui","versions":["< 0.7.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-07-10T19:34:43.544092Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an RCE-capable deserialization weakness in the JMX metrics collection feature of Kafka UI, a web UI for Apache Kafka management, where the backend trusts data returned by a broker's JMX/RMI port. An attacker who can point Kafka UI at a malicious broker, either because dynamic configuration is enabled or because they already have access to the Kafka cluster being connected, can serve a malicious serialized object over RMI and run code on the Kafka UI host, with no authentication required in the default deployment and no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:23Z"},"euvd":{"id":"EUVD-2024-29867","exploited":false,"provenance":"source"}}