{"id":"CVE-2016-8641","published":"2018-08-01T14:00:00Z","modified":"2024-08-06T02:27:41Z","title":"A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary…","vendor":"Nagios Enterprises","product":"nagios","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01141,"percentile":0.66531,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://www.exploit-db.com/exploits/40774/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/NagiosEnterprises/nagioscore/commit/f2ed227673d3b2da643eb5cad26b2d87674f28c1.patch","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8641","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/95121","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://security.gentoo.org/glsa/201702-26","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":13.31},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.69}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-11-18"},"first":{"date":"2016-11-18","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40774"},"provenance":"source"},"vendorSlug":"nagios-enterprises","affectedVersions":[{"vendor":"Nagios Enterprises","product":"nagios","versions":["4.2.x"]}],"euvd":{"id":"EUVD-2016-9482","exploited":false,"provenance":"source"},"exploits":[{"id":40774,"url":"https://www.exploit-db.com/exploits/40774","title":"Nagios 4.2.2 - Local Privilege Escalation","date":"2016-11-18","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40774/"],"lineage":{"parents":[{"from":"CVE-2016-10089","to":"CVE-2016-8641","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"Nagios 4.3.2 and earlier allows local users to gain root privileges via a hard link attack on the Nagios init script file, related to CVE-2016-8641.","from":"CVE.org","in":"CVE-2016-10089"}]}]}}