CVE-2023-52251 in provectus ui
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: provectus ui
Scores
- CVSS: 8.8 (high)
- EPSS: 86.84% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2024-01-25
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Replace provectus kafka-ui with the maintained kafbat/kafka-ui or block Groovy filters
Workaround. provectus kafka-ui 0.4.0 to 0.7.2 run Groovy code from message filters on the server and will not get a fix. The maintained fork kafbat/kafka-ui removed the unsafe evaluation.
Applies to: provectus kafka-ui 0.4.0 to 0.7.2.
- Find kafka-ui deployments (image provectuslabs/kafka-ui) and note the version.
- Replace them with a current kafbat/kafka-ui release (image ghcr.io/kafbat/kafka-ui) using the same configuration.
- Until replaced, put authentication in front of kafka-ui and block requests with filterQueryType=GROOVY_SCRIPT at the proxy.
- Keep DYNAMIC_CONFIG_ENABLED off unless needed.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.