#VU1344 Symlink attack in Nagios


Published: 2020-03-18

Vulnerability identifier: #VU1344

Vulnerability 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

Exploitation vector: Local

Exploit availability: Yes

Vulnerable software:
Nagios
Server applications / Other server solutions

Vendor: nagios.org

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.


Latest bulletins with this vulnerability