WordPress的File Manager (wp-file-manager) 插件6.9之前的版本允许远程攻击者上传并执行任意PHP代码,因为它将一个不安全的示例elFinder连接器文件重命名为.php扩展名。例如,这允许攻击者运行elFinder的upload(或mkfile和put)命令,将PHP代码写入 wp-content/plugins/wp-file-manager/lib/files/ 目录。该漏洞于2020年8月和9月在野外被利用。
python3 exploit.py url command
python3 exploit.py http://wordpressite.com/ id
部署方法:
git clone https://github.com/BLY-Coder/Python-exploit-CVE-2020-25213
run with python3