CVE-2021-25297: Nagios XI OS Command Injection

Published Feb 15, 2021
·
Updated

Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.

Other sources

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.

Affected Software

3 affected components
Nagios Nagios XI=5.7.5
Nagios Nagios XI
Nagios Nagios XI>=5.5.6<=5.7.5

Event History

Feb 15, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 18, 2022
Known Exploited
via CISA·12:00 AM

Frequently Asked Questions

1

What is CVE-2021-25297?

CVE-2021-25297 is a vulnerability in Nagios XI version xi-5.7.5 that allows for OS command injection.

2

How severe is CVE-2021-25297?

CVE-2021-25297 is considered critical with a severity rating of 8.8.

3

What software is affected by CVE-2021-25297?

Nagios XI version xi-5.7.5 is affected by CVE-2021-25297.

4

How does CVE-2021-25297 occur?

CVE-2021-25297 occurs due to improper sanitization of authenticated user-controlled input in the file /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php.

5

How can CVE-2021-25297 be exploited?

CVE-2021-25297 can be exploited by sending a specially crafted HTTP request to the affected Nagios XI instance, allowing for the execution of arbitrary OS commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203