RULE(RULE ID:330062)

Rule General Information
Release Date: 2020-04-29
Rule Name: Nagios XI Authenticated Remote Command Execution Vulnerability (CVE-2019-15949)
Severity:
CVE ID:
Rule Protection Details
Description: Nagios XI before 5.6.6 allows remote command execution as root. The exploit requires access to the server as the nagios user, or access as the admin user via the web interface. The getprofile.sh script, invoked by downloading a system profile (profile.php?cmd=download), is executed as root via a passwordless sudo entry; the script executes check_plugin, which is owned by the nagios user. A user logged into Nagios XI with permissions to modify plugins, or the nagios user on the server, can modify the check_plugin executable and insert malicious commands to execute as root.
Impact: An attacker can execute arbitrary command via a successful exploit in the context of the vulnerable software.
Affected OS: Linux
Reference: http://packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html
https://github.com/jakgibb/nagiosxi-root-rce-exploit
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://www.nagios.com