CVE-2021-25297
Nagios XI OS Command Injection - [Actively Exploited]
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.
INFO
Published Date :
Feb. 15, 2021, 1:15 p.m.
Last Modified :
July 24, 2024, 4:46 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
Nagios XI contains a vulnerability which can lead to OS command injection on the Nagios XI server.
Apply updates per vendor instructions.
Public PoC/Exploit Available at Github
CVE-2021-25297 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-25297
.
URL | Resource |
---|---|
http://nagios.com | Product |
http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
https://assets.nagios.com/downloads/nagiosxi/versions.php | Exploit Product |
https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md | Exploit Third Party Advisory |
https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
Bugs reported to Nagios XI
essential templates for kenzer [DEPRECATED]
kenzer vulnerabilities kenzer-templates arpsyndicate
Python Shell Ruby
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-25297
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-25297
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Jul. 24, 2024
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and No Types Assigned https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and Exploit, Third Party Advisory -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Aug. 08, 2023
Action Type Old Value New Value Changed CWE CWE-78 NVD-CWE-Other -
CVE Modified by [email protected]
Mar. 01, 2023
Action Type Old Value New Value Added Reference https://www.fastly.com/blog/anatomy-of-a-command-injection-cve-2021-25296-7-8-with-metasploit-module-and [No Types Assigned] -
CVE Modified by [email protected]
Feb. 08, 2023
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/170924/Nagios-XI-5.7.5-Remote-Code-Execution.html [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 09, 2021
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Feb. 26, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 18, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://nagios.com No Types Assigned http://nagios.com Product Changed Reference Type https://assets.nagios.com/downloads/nagiosxi/versions.php No Types Assigned https://assets.nagios.com/downloads/nagiosxi/versions.php Exploit, Product Changed Reference Type https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md No Types Assigned https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md Exploit, Third Party Advisory Added CWE NIST CWE-78 Added CPE Configuration OR *cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-25297
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-25297
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
96.95 }} 0.16%
score
0.99774
percentile