CVE-2019-15949
nagios xi
Published 5 Sept 2019 · updated 17 Jun 2026 · Analyzed
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, with a remediation deadline of 3 May 2022 for US federal agencies.
Required action: Apply updates per vendor instructions.
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.
References
- packetstormsecurity.com/files/156676/Nagios-XI-Authenticated-Remote-Command-Execution.html · Exploit, Third Party Advisory, VDB Entry
- packetstormsecurity.com/files/162158/Nagios-XI-getprofile.sh-Remote-Command-Execution.html · Exploit, Third Party Advisory, VDB Entry
- github.com/jakgibb/nagiosxi-root-rce-exploit · Exploit, Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-15949 · US Government Resource