oss-sec mailing list archives

Nagios Core < 4.2.4 Root Privilege Escalation [CVE-2016-9566]


From: Dawid Golunski <dawid () legalhackers com>
Date: Tue, 20 Dec 2016 17:16:39 -0200

Vulnerability:
Nagios Core < 4.2.4  Root Privilege Escalation CVE-2016-9566

Discovered by: Dawid Golunski (@dawid_golunski)
https://legalhackers.com

Severity: High

Nagios Core daemon in versions below 4.2.4 was found to perform unsafe
operations when handling the log file. This could be exploited by
malicious local attackers to escalate their privileges from 'nagios'
system user,
or from a user belonging to 'nagios' group, to root.
The exploit could enable the attackers to fully compromise the system on which a
vulnerable Nagios version was installed.

To obtain the necessary level of access (nagios user/group), the
attackers could potentially use another Nagios vulnerability -
CVE-2016-9565.


The full up-to-date advisory and a PoC exploit for CVE-2016-9566 can
be found at:

https://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html

A copy has been attached to this message.

Video PoC:
https://legalhackers.com/videos/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html


The aforementioned CVE-2016-9565  vuln can be found at:

https://legalhackers.com/advisories/Nagios-Exploit-Command-Injection-CVE-2016-9565-2008-4796.html

For updates, follow:

https://twitter.com/dawid_golunski

-- 
Regards,
Dawid Golunski
https://legalhackers.com
t: @dawid_golunski

Attachment: Nagios-Root.txt
Description:


Current thread: