Privilege escalation in Nagios



Published: 2016-12-16
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-9566
CWE-ID CWE-61
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Nagios
Server applications / Other server solutions

Vendor nagios.org

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Symlink attack

EUVDB-ID: #VU1344

Risk: Low

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

CVE-ID: CVE-2016-9566

CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following

Exploit availability: Yes

Description

The vulnerability allows a local user obtain elevated privileges on vulnerable system.

The vulnerability exists due to the application handles log files in unsafe manner. A local user with access to Nagios application (nagios account or member of nagios group) can cerate a specially crafted symlink to nagios log file and execute arbitrary command on vulnerable system with root privileges.

Successful exploitation of this vulnerability may allow a local user to obtain full access to vulnerable system.

Mitigation

Install the latest version 4.2.4, which fixes the vulnerability.

Vulnerable software versions

Nagios: 4.2.0 - 4.2.3

External links

http://www.nagios.org/projects/nagios-core/history/4x/
http://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###