Skip to main content
← All vulnerabilities
CVE-2021-25297

Nagios XI version xi-5.7.5 is affected by OS command injection.

Affects Nagios XI versions 5.5.6 to 5.7.5 when the switch configuration wizard is used. No fixed version is listed in the checked facts.

Published
Last modified
published
Listed in CISA KEV
Actively exploited
None on Exploit-DB, Metasploit or GitHub

Summary

Nagios XI, a server monitoring platform, is affected by an OS command injection flaw in its switch configuration wizard. An authenticated user can exploit this with a single HTTP request to run arbitrary operating system commands on the Nagios XI server.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 5

assets.nagios.com

GitHub · fs0c-sh/nagios-xi-5.7.5-bugs

packetstormsecurity.com

fastly.com

FAQ

Questions about CVE-2021-25297

What does this mean?

The switch configuration wizard passes input into operating system commands without proper checks, so the Nagios XI server can be made to run arbitrary commands. The advisory's Metasploit module gains access as the apache user.Source: fastly.com

Am I affected, and how do I check?

The advisory says Nagios XI versions 5.5.6 to 5.7.5 are vulnerable, and the injection is reached only through the switch configuration wizard. To check, look at the installed Nagios XI version and whether the switch configuration wizard is in use.Source: fastly.com

What should I do about it?

The checked facts do not name a fixed version to upgrade to. Check the vendor advisory for a fixed release and apply it when available.Source: fastly.com

Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-18, which means it has evidence of attacks. No public exploit code is tracked.Source: cisa.gov, cve.now feed data

What if there's no patch?

While no fix is listed, limit exposure by not using the switch configuration wizard, since the injection is reached only through it.Source: fastly.com