Link following in Nagios - CVE-2016-8641

 

Link following in Nagios - CVE-2016-8641

Published: August 1, 2018 / Updated: August 9, 2020


Vulnerability identifier: #VU36804
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-8641
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local authenticated user to execute arbitrary code.

A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary files and insecurely changing the ownership afterwards. It's possible for the local attacker to create symbolic links before the files are to be created and possibly escalating the privileges with the ownership change.


Affected software

Nagios

How to mitigate CVE-2016-8641

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins