{"schemaVersion":3,"id":"CVE-2016-9566","aliases":["UBUNTU-CVE-2016-9566"],"status":"published","duplicateOf":null,"title":null,"description":"base/logging.c in Nagios Core before 4.2.4 allows local users with access to an account in the nagios group to gain root privileges via a symlink attack on the log file.  NOTE: this can be leveraged by remote attackers using CVE-2016-9565.","dates":{"published":"2016-12-15T22:00:00.000Z","modified":"2024-08-06T02:50:38.682Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.04885,"percentile":0.91975,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04885},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04885,"percentile":0.91975}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04885,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04885,"percentile":0.91975}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_09CE1BD85B924CAB","name":"Exploit Reference (legalhackers.com)","source":"reference","url":"https://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"40921","name":"Nagios < 4.2.4 - Local Privilege Escalation","source":"exploit-database","url":"https://www.exploit-db.com/exploits/40921","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"local","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"local","platform":"linux","file":"exploits/linux/local/40921.sh","codes":["CVE-2016-9566"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"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.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-264","name":"Permissions, Privileges, and Access Controls","description":"Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.","type":"category","status":"Obsolete","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/264.html"}],"affected":[{"vendor":"ubuntu","product":"nagios3","name":"nagios3","label":"nagios3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nagios3","purlType":"deb","versions":[{"text":"< 3.5.1-1ubuntu1.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.5.1.dfsg-2.1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.5.1-1ubuntu1.1 | < 3.5.1.dfsg-2.1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"nagios","product":"nagios","name":"nagios","label":"nagios","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.2.3","eol":null,"hubHref":"/vendor/nagios/nagios"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.gentoo.org/glsa/201710-20","label":"security.gentoo.org/glsa/201710-20","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://www.exploit-db.com/exploits/40921/","label":"www.exploit-db.com/exploits/40921/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://www.securityfocus.com/bid/94919","label":"www.securityfocus.com/bid/94919","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://github.com/NagiosEnterprises/nagioscore/commit/c29557dec91eba2306f5fb11b8da4474ba63f8c4","label":"github.com/NagiosEnterprises/nagioscore/commit/c29557dec91eba2306f5fb11b8da4474ba63f8c4","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0258.html","label":"rhn.redhat.com/errata/RHSA-2017-0258.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://security.gentoo.org/glsa/201612-51","label":"security.gentoo.org/glsa/201612-51","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0212.html","label":"rhn.redhat.com/errata/RHSA-2017-0212.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0213.html","label":"rhn.redhat.com/errata/RHSA-2017-0213.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://www.nagios.org/projects/nagios-core/history/4x/","label":"www.nagios.org/projects/nagios-core/history/4x/","hostname":"www.nagios.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/201702-26","label":"security.gentoo.org/glsa/201702-26","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00014.html","label":"lists.debian.org/debian-lts-announce/2018/12/msg00014.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0259.html","label":"rhn.redhat.com/errata/RHSA-2017-0259.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.securitytracker.com/id/1037487","label":"www.securitytracker.com/id/1037487","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://seclists.org/fulldisclosure/2016/Dec/58","label":"seclists.org/fulldisclosure/2016/Dec/58","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402869","label":"bugzilla.redhat.com/show_bug.cgi?id=1402869","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking"]},{"url":"https://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html","label":"legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html","hostname":"legalhackers.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0214.html","label":"rhn.redhat.com/errata/RHSA-2017-0214.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0211.html","label":"rhn.redhat.com/errata/RHSA-2017-0211.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://ubuntu.com/security/CVE-2016-9566","label":"ubuntu.com/security/CVE-2016-9566","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3253-1","label":"ubuntu.com/security/notices/USN-3253-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9566","label":"www.cve.org/CVERecord?id=CVE-2016-9566","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DLA-1615-1","DLA-751-1","MGASA-2017-0045","OPENSUSE-SU-2024:11073-1","RHSA-2017:0211","RHSA-2017:0212","RHSA-2017:0213","RHSA-2017:0214","RHSA-2017:0258","RHSA-2017:0259","SUSE-SU-2022:3576-1","SUSE-SU-2024:1629-1","USN-3253-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11073-1","SUSE-SU-2022:3576-1","SUSE-SU-2024:1629-1","USN-3253-1"]},"timeline":[{"kind":"published","date":"2016-12-15T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T02:50:38.682Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:02:24.351Z","stale":false,"partial":false}}