CVE-2021-25297: Nagios XI - Command Injection
- Cve: CVE-2021-25297
- Name: Nagios XI - Command Injection
- 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.
- Impact: Authenticated attackers can execute arbitrary commands, potentially leading to full system compromise and data theft.
- Remediation: Update to the latest version of Nagios XI that addresses this vulnerability or apply security patches provided by Nagios.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.58114
- Epss percentile: 0.99104
- Assignee: [email protected]
- Published at: 2021-02-15T13:15:12Z
- Age in days: 2108
- Modified at: 2026-07-09T13:39:51Z
- Public exploits total: 6
- References total: 9
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25297
- Nvd status: analyzed
- Checked, none or zero: patch available, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2022-01-18 | 2022-02-01 | no |
| vulncheck | 2021-06-01 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-25297 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25297.yaml |
Public exploits
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nagios:nagios_xi | >= 5.5.6, <= 5.7.5 | no | nvd | /v1/products/nagios/nagios_xi |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited: yes
- Known exploited since: 2022-01-18
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2021-06-01
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 6
- Public exploit first date: 2021-02-13
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1653
- Checked, none or zero: initial access
- Not known: initial access since, hackerone reports