Kafbat Kafka-UI Unsafe Deserialization Vulnerability Leading to Remote Code Execution

Vulnerability

A remote code execution vulnerability has been identified in Kafbat Kafka-UI version 1.0.0, stemming from an unsafe deserialization issue. This vulnerability allows any unauthenticated user to execute arbitrary code on the server. The problem arises when Kafka-UI connects to a malicious Kafka cluster and retrieves metrics via JMX, enabling the execution of harmful payloads.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the Kafka-UI server.

Reproduction

To reproduce this vulnerability, upload a malicious Kafka cluster that can be accessed from the Kafka-UI container. Then, in the Kafka-UI 'Metrics' configuration, select JMX as the metrics type and submit the form. This action prompts Kafka-UI to connect to the specified JMX server of the malicious Kafka cluster, where the uploaded payload can be executed.

Remediation

Users can upgrade to Kafbat Kafka-UI version 1.1.0, which addresses this vulnerability.

Added: Jun 6, 2025, 9:16 PM
Updated: Jun 6, 2025, 9:16 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
7.7
relevance
0.1
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.