
Webmin < 1.997 の Software Package Updates RCE(認証済み)を悪用する Python スクリプト。

Webmin < 1.997 に対して Software Package Updates RCE(認証済み)を悪用するPythonスクリプト。
--insecure を使用して自己署名証明書でも動作)。--command オプションによる単一コマンド実行。--interactive オプションによる対話型コンソール。$ ./CVE-2022-36446.py -h
CVE-2022-36446 - Webmin < 1.997 - Software Package Updates RCE (Authenticated) v1.1 - by Remi GASCOU (Podalirius)
usage: CVE-2022-36446.py [-h] -t TARGET [-k] -u USERNAME -p PASSWORD (-I | -C COMMAND) [-v]
CVE-2022-36446 - Webmin < 1.997 - Software Package Updates RCE (Authenticated)
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
URL to the webmin instance
-k, --insecure
-u USERNAME, --username USERNAME
Username to connect to the webmin.
-p PASSWORD, --password PASSWORD
Password to connect to the webmin.
-I, --interactive Interactive console mode.
-C COMMAND, --command COMMAND
Only execute the specified command.
-v, --verbose Verbose mode. (default: False)
Webmin >= 1.997 に更新してください。
プルリクエストは歓迎します。他の機能を追加したい場合は、お気軽にissueを開いてください。