HIGH

CVE-2021-25297

Nagios Nagios Xi 2021-02-15 CVSS v3.1
CVSS
8.8
KEV

Description

Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can lead to OS command injection on the Nagios XI server.

Summary dbcve.org

Nagios XI version 5.7.5 contains an OS command injection vulnerability in the switch configuration wizard component (switch.inc.php). The vulnerability stems from improper sanitization of authenticated user-controlled input passed through a single HTTP request, allowing an authenticated attacker to inject and execute arbitrary OS commands on the server.

Mitigation

Upgrade to a patched version of Nagios XI; alternatively, sanitize/validate all user input in the affected switch.inc.php file using strict allowlist validation and escape shell metacharacters before passing data to system calls.

Proof of Concept

Weakness (CWE)

CWE-78 OS Command Injection

EPSS Score

56.66%
Probability of exploitation in next 30 days
99th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE