Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitize...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSnagios3 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSicinga |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSicinga |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSnagios3 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10nagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSnagios4 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Nagios XI before 2026R2 contains an OS command injection vulnerability in the MIB upload feature where the install_mib() function in mibs.php sanitizes uploaded filenames with an incomplete character-substitution filter that omits semicolons, pipes, and non-space IFS whitespace characters before passing them to a grep command run via exec(). An authenticated administrator can upload a MIB file with a crafted filename using tab characters to bypass the deny-list and pipe to sh via a multipart POST request to mibs.php, resulting in arbitrary OS command execution as the web server user.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report nagios.com
- report vulncheck.com