CVE-2016-9566 Path traversal in n/a

High 7.8 Published Updated

Local attackers in the nagios group can gain root privileges via a symlink attack on the log file, potentially escalated by remote attackers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-9566?

CVE-2016-9566 is a high-severity path traversal vulnerability in n/a, published on 15 Dec 2016. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-59, CWE-264

Which versions are affected by CVE-2016-9566?

It affects 1 product.

Products include Nagios Nagios.

How do I fix CVE-2016-9566?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-9566 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-9566 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-9332-j4wp-2xcq, UBUNTU-CVE-2016-9566.

Is CVE-2016-9566 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free