Nagios XI 5.7.5 Command Injection

high Nessus Plugin ID 157377

Synopsis

The remote host has a web application that may be affected by multiple vulnerabilities.

Description

According to the self-reported version of Nagios XI, the remote host may be affected by multiple vulnerabilities, including the following:

- A command injection vulnerability in the file /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request (CVE-2021-25296).

- A command injection vulnerability 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 (CVE-2021-25297).

- A command injection vulnerability in the file /usr/local/nagiosxi/html/includes/configwizards/cloud-vm/cloud-vm.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request (CVE-2021-25298).

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

See vendor advisory.

See Also

https://www.nagios.com/downloads/nagios-xi/change-log/

https://www.nagios.com/products/security/

Plugin Details

Severity: High

ID: 157377

File Name: nagiosxi_5_7_5_command_injection.nasl

Version: 1.6

Type: combined

Agent: unix

Family: CGI abuses

Published: 2/4/2022

Updated: 6/5/2024

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2021-25298

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:nagios:nagios_xi

Required KB Items: Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/13/2021

Vulnerability Publication Date: 2/13/2021

CISA Known Exploited Vulnerability Due Dates: 2/1/2022

Exploitable With

Metasploit (Nagios XI 5.5.6 to 5.7.5 - ConfigWizards Authenticated Remote Code Exection)

Reference Information

CVE: CVE-2021-25296, CVE-2021-25297, CVE-2021-25298