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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2019-09-05T16:50:38
Updated: 2024-08-05T01:03:32.416Z
Reserved: 2019-09-05T00:00:00
Link: CVE-2019-15949
Vulnrichment
No data.
NVD
Status : Modified
Published: 2019-09-05T17:15:12.327
Modified: 2024-11-21T04:29:48.227
Link: CVE-2019-15949
Redhat
No data.