CVE-2016-1247

high
Published 2016-11-29 ยท Modified 2026-05-06
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-40768 local linux
Dawid Golunski ยท 2016-11-16

Nginx (Debian Based Distros + Gentoo) - 'logrotate' Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
suse slesaffected
arch archfixed1.11.8-2
debian debianbookwormfixed1.10.2-1
debian debianbullseyefixed1.10.2-1
debian debianforkyfixed1.10.2-1
debian debiansidfixed1.10.2-1
debian debiantrixiefixed1.10.2-1
debian debian8.0not-affected
ubuntu ubuntu16.10not-affected
ubuntu ubuntu16.04not-affected
ubuntu ubuntu14.04not-affected
fedora fedora33affected
fedora fedora34affected
fedora fedora35affected

Application impact

VendorProductVersionsFixed
f5nginx{"endIncluding":"1.10.1"}
nginx nginxnginx{"endIncluding":"1.10.1"}
nginx nginxnginx{"endIncluding":"1.10.0"}
nginx nginxnginx{"endIncluding":"1.6.2"}
nginx nginxnginx{"endIncluding":"1.4.3"}

References

CWEs

CWE-59

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.