#VU25848 Permissions, Privileges, and Access Controls in Nagios XI


Published: 2020-03-18 | Updated: 2021-05-09

Vulnerability identifier: #VU25848

Vulnerability risk: Low

CVSSv3.1: 6.3 [CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2019-15949

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Nagios XI
Server applications / Other server solutions

Vendor: nagios.org

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the getprofile.sh script in Nagios XI is invoked by downloading a system profile (profile.php?cmd=download) and is executed as root via a passwordless sudo entry; the script executes check_plugin, which is owned by the nagios user. . A remote privileged user can inject and execute arbitrary OS commands as root on the affected system .

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Nagios XI: 5.6.0 - 5.6.5


External links
http://github.com/jakgibb/nagiosxi-root-rce-exploit
http://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/linux/http/nagios_xi_authenticated_rce.rb


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.


Latest bulletins with this vulnerability