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

fedora Fedora Affected 3 releases
VersionStatusFixed in
35 Affected โ€”
34 Affected โ€”
33 Affected โ€”
suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 1.11.8-2
debian Debian Fixed 6 releases
VersionStatusFixed in
trixie Fixed 1.10.2-1
sid Fixed 1.10.2-1
forky Fixed 1.10.2-1
bullseye Fixed 1.10.2-1
bookworm Fixed 1.10.2-1
8.0 Not affected โ€”
ubuntu Ubuntu Fixed 3 releases
VersionStatusFixed in
16.10 Not affected โ€”
16.04 Not affected โ€”
14.04 Not affected โ€”

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.