{"id":"CVE-2023-52251","published":"2024-01-25T00:00:00Z","modified":"2026-09-08T18:52:57Z","title":"An issue discovered in provectus kafka-ui 0.4.0 through 0.7.2 allows remote attackers to execute arbitrary code via…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-13T15:44:13.987270Z","from":"CISA ADP","provenance":"source"},"description":{"text":"An issue discovered in provectus kafka-ui 0.4.0 through 0.7.2 allows remote attackers to execute arbitrary code via the q parameter of /api/clusters/local/topics/{topic}/messages. No fixed release is available; the project has had no commit since 2024-04-08.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an arbitrary code execution issue in the Provectus kafka-ui web application, versions 0.4.0 through 0.7.2, in the handling of the q parameter on the /api/clusters/local/topics/{topic}/messages endpoint. An attacker with network access and low-privilege authentication can send a crafted request to that endpoint to execute arbitrary code, requiring no user interaction and no particular configuration beyond the affected versions being deployed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:13:46Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.8684,"percentile":0.9975,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-12-02","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/BobTheShoplifter/CVE-2023-52251-POC","tags":[]},{"url":"http://packetstormsecurity.com/files/177214/Kafka-UI-0.7.1-Command-Injection.html","tags":[]},{"url":"https://github.com/google/osv.dev/issues/5988","tags":[]},{"url":"https://github.com/github/advisory-database/issues/9400","tags":[]},{"url":"https://github.com/provectus/kafka-ui/blob/v0.7.2/kafka-ui-api/src/main/java/com/provectus/kafka/ui/emitter/MessageFilters.java","tags":[]},{"url":"https://github.com/kafbat/kafka-ui/commit/11a57d14","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-56924","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-56924","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-01-06","earliestUrl":"https://github.com/BobTheShoplifter/CVE-2023-52251-POC","repos":[{"name":"BobTheShoplifter/CVE-2023-52251-POC","url":"https://github.com/BobTheShoplifter/CVE-2023-52251-POC","stars":20,"created":"2024-01-06"}]},"metasploit":[{"name":"Kafka UI Unauthenticated Remote Command Execution via the Groovy Filter option.","module":"exploit/linux/http/kafka_ui_unauth_rce_cve_2023_52251","type":"exploit","disclosureDate":"2023-09-27","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/kafka_ui_unauth_rce_cve_2023_52251.rb"}],"nuclei":[{"id":"CVE-2023-52251","name":"Kafka UI 0.7.1 Command Injection","severity":"high","path":"http/cves/2023/CVE-2023-52251.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-52251.yaml"}],"first":{"date":"2023-09-27","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/kafka_ui_unauth_rce_cve_2023_52251.rb"},"provenance":"source"},"exploitRefs":["https://github.com/BobTheShoplifter/CVE-2023-52251-POC","http://packetstormsecurity.com/files/177214/Kafka-UI-0.7.1-Command-Injection.html"],"flow":[],"timeline":[{"date":"2023-09-27","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2024-01-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/kafka_ui_unauth_rce_cve_2023_52251.rb","provenance":"source"},{"date":"2024-01-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-52251","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":71.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 354 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.95,"detail":"percentile 0.9975"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD exploit links; 1 PoC-in-GitHub repo; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}