CVE-2016-1247 json
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-0ub…
published 2016-11-29 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-2346
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- nginx Debian 14, Debian 13, Debian 12 1.10.2-1
debian advisories DEBIAN-CVE-2016-1247
- nginx Ubuntu 14.04 LTS 1.4.6-1ubuntu3.6
- nginx Ubuntu 16.04 LTS 1.10.0-0ubuntu0.16.04.3
ubuntu advisories UBUNTU-CVE-2016-1247
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-1247 updated cvss 7.4
nginx: Local privilege escalation via log files
-
Red Hat Enterprise Linux 9 nginx, nginx-core, nginx-mod-mail, nginx-filesystem, nginx-mod-stream, nginx-all-modules, +3 moreaffected: no fix available
-
Red Hat Software Collections nginx16-nginx, rh-nginx18-nginxaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-19-155-01 updated cvss 7.8
PHOENIX CONTACT PLCNext AXC F 2152
-
Phoenix Contact AXC F 2152 2404267 version 1.x, 1046568 (Starterkit) version 1.xaffected: vendor fix, mitigation “Phoenix Contact recommends affected users update to firmware release 2019.0 LTS or later, update to PLCNext Engineer release 2019.0 LTS or later, and apply the following specific mitigations below:” phoenixcontact.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Timeline
- First public exploit (EDB-40768)
- Published
Exploit prediction
4.86% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-40768 Nginx (Debian Based Distros + Gentoo) - 'logrotate' Local Privilege Escalation local, 2016-11-16
- youtube.com https://www.youtube.com/watch?v=aTswN1k1fQs referenced PoC, tagged "exploit" by a source, unverified
- legalhackers.com https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
References
-
exploit-db.com
/exploits/40768/
exploit, third-party-advisory, vdb-entry
-
youtube.com
/watch?v=aTswN1k1fQs
exploit, third-party-advisory
-
legalhackers.com
/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
exploit, third-party-advisory
-
packetstormsecurity.com
/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html
exploit, third-party-advisory, vdb-entry
-
debian.org
/security/2016/dsa-3701
vendor-advisory
-
ubuntu.com
/usn/USN-3114-1
vendor-advisory
-
security.gentoo.org
/glsa/201701-22
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/
vendor-advisory
-
securityfocus.com
/archive/1/539796/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
securityfocus.com
/bid/93903
vdb-entry, third-party-advisory
-
seclists.org
/fulldisclosure/2017/Jan/33
mailing-list, third-party-advisory
-
securitytracker.com
/id/1037104
vdb-entry, third-party-advisory
-
seclists.org
/fulldisclosure/2016/Nov/78
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-1247
- NVD CVE-2016-1247
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.