Vulnerability Details : CVE-2016-8641
Potential exploit
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.
Vulnerability category: Gain privilege
Products affected by CVE-2016-8641
- cpe:2.3:a:nagios:nagios:4.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:nagios:nagios:4.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:nagios:nagios:4.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:nagios:nagios:4.2.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-8641
0.50%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-8641
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST | |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
6.7
|
MEDIUM | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
0.8
|
5.9
|
Red Hat, Inc. |
CWE ids for CVE-2016-8641
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by:
- nvd@nist.gov (Secondary)
- secalert@redhat.com (Primary)
References for CVE-2016-8641
-
http://www.securityfocus.com/bid/95121
Nagios CVE-2016-8641 Local Privilege Escalation VulnerabilityThird Party Advisory;VDB Entry
-
https://security.gentoo.org/glsa/201702-26
Nagios: Multiple vulnerabilities (GLSA 201702-26) — Gentoo securityThird Party Advisory
-
https://github.com/NagiosEnterprises/nagioscore/commit/f2ed227673d3b2da643eb5cad26b2d87674f28c1.patch
Patch;Third Party Advisory
-
https://www.exploit-db.com/exploits/40774/
Nagios 4.2.2 - Local Privilege EscalationExploit;Third Party Advisory;VDB Entry
-
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8641
1394248 – (CVE-2016-8641) CVE-2016-8641 nagios: Unsafe ownership change leading to privilege escalationIssue Tracking;Patch;Third Party Advisory
Jump to