
CVE-2023-50094(rengineコマンドインジェクション)のPoC
このPythonスクリプトは、reNgine 2.2.0の認証されたコマンドインジェクションの脆弱性を悪用します。このエクスプロイトは、Scan Engine設定のnmap_cmdパラメータを標的とし、攻撃者が任意のコマンドを実行できるようにします。
requestsライブラリがインストールされたPython 3.x。リポジトリをクローンします:
git clone https://github.com/example/rengine-exploit.git
cd rengine-exploit
pip install requests
スクリプトの実行:
python poc.py --url http://rengine.target.com --username admin --password securepassword123 --engine-id 2