#VU25848 Permissions, Privileges, and Access Controls in Nagios XI - CVE-2019-15949


| Updated: 2022-02-20

Vulnerability identifier: #VU25848

Vulnerability risk: Low

CVSSv4.0: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear]

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
https://github.com/jakgibb/nagiosxi-root-rce-exploit
https://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