CVE-2016-1247 Path traversal in n/a

High 7.8 Published Updated

Local attackers with web server access can gain root privileges via a symlink attack on the error log in Nginx.

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-1247?

CVE-2016-1247 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 29 Nov 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The nginx package before 1.6.2-5+deb8u3 on Debian jessie, the nginx packages before 1.4.6-1ubuntu3.6 on Ubuntu 14.04 LTS, before 1.10.0-0ubuntu0.16.04.3 on Ubuntu 16.04 LTS, and before 1.10.1-0ubuntu1.1 on Ubuntu 16.10, and the nginx ebuild before 1.10.2-r3 on Gentoo allow local users with access to the web server user account to gain root privileges via a symlink attack on the error log.

Weakness: CWE-59

Which versions are affected by CVE-2016-1247?

It affects 2 products.

Products include F5 Nginx, Fedoraproject Fedora.

How do I fix CVE-2016-1247?

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-1247 being exploited?

There is no known exploitation of CVE-2016-1247 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1247, DSA-3701-1, GHSA-4333-xxh4-gh9f, UBUNTU-CVE-2016-1247, USN-3114-1.

Is CVE-2016-1247 in your software?

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

Check your SBOMs for free