CVE-2021-25297
Last modified
CVE-2021-25297 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 58.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nagios | Nagios Xi | >= 5.5.6, <= 5.7.5 |
References
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.mdExploit, Third Party Advisory
- https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-andExploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25297US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-25297?
How severe is CVE-2021-25297?
How do I fix CVE-2021-25297?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-25291An issue was discovered in Pillow before 8.1.1. In TiffDecod…7.5
- CVE-2021-25292An issue was discovered in Pillow before 8.1.1. The PDF pars…6.5
- CVE-2021-25293An issue was discovered in Pillow before 8.1.1. There is an …7.5
- CVE-2021-25294OpenCATS through 0.9.5-3 unsafely deserializes index.php?m=a…9.8
- CVE-2021-25295OpenCATS through 0.9.5-3 has multiple Cross-site Scripting (…6.1
- CVE-2021-25296Nagios XI version xi-5.7.5 is affected by OS command injecti…8.8
- CVE-2021-25298Nagios XI version xi-5.7.5 is affected by OS command injecti…8.8
- CVE-2021-25299Nagios XI version xi-5.7.5 is affected by cross-site scripti…6.1
- CVE-2021-25306A buffer overflow vulnerability in the AT command interface …7.5
- CVE-2021-25309The telnet administrator service running on port 650 on Giga…9.8
- CVE-2021-25310The administration web interface on Belkin Linksys WRT160NL …8.8
- CVE-2021-25311condor_credd in HTCondor before 8.9.11 allows Directory Trav…9.9
Are you affected by CVE-2021-25297?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
