CVE-2023-52251 in the critical feed json
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…
published 2024-01-25 2 y ago modified 2026-09-08 2 mo ago also EUVD-2023-56924
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 86.8%
- EPSS 86.8% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 1
- Metasploit, plus a Nuclei check
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit exploit/linux/http/kafka_ui_unauth_rce_cve_2023_52251)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
86.84% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/kafka_ui_unauth_rce_cve_2023_52251 Kafka UI Unauthenticated Remote Command Execution via the Groovy Filter option. metasploit exploit, excellent rank, 2023-09-27
- Nuclei template Kafka UI 0.7.1 Command Injection nuclei detection template
- github.com https://github.com/BobTheShoplifter/CVE-2023-52251-POC referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
- github.com /kafbat/kafka-ui/commit/11a57d14
-
github.com
/BobTheShoplifter/CVE-2023-52251-POC
exploit, third-party-advisory
- packetstormsecurity.com /files/177214/Kafka-UI-0.7.1-Command-Injection.html
- github.com /google/osv.dev/issues/5988
- github.com /github/advisory-database/issues/9400
- github.com /provectus/kafka-ui/blob/v0.7.2/kafka-ui-api/src/main/java/com/provectus/kafka/ui/emitter/MessageFilters.java
Sources
- CVE List CVE-2023-52251
- NVD CVE-2023-52251
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.