CVE-2016-1247
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
4.863%
chance of exploitation in the next 30 days
higher than 92.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 4
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-59: Improper Link Resolution Before File Access
Timeline
- 2016-11-16First Exploit-DB entry (EDB-ID 40768)13 days before publication
- 2016-11-29Published by the CNA17:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 40768 | local | linux | 2016-11-16 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| f5 nginx | through 1.10.0no fix listedthrough 1.10.1no fix listedthrough 1.4.3no fix listedthrough 1.6.2no fix listed | not listednot listednot listednot listed |
| fedoraproject fedora | 33no fix listed34no fix listed35no fix listed | not listednot listednot listed |
References
- http://www.debian.org/security/2016/dsa-3701
- http://www.ubuntu.com/usn/USN-3114-1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/
- https://security.gentoo.org/glsa/201701-22
- http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html
- https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
- https://www.exploit-db.com/exploits/40768/
- https://www.youtube.com/watch?v=aTswN1k1fQs
- http://seclists.org/fulldisclosure/2016/Nov/78
- http://seclists.org/fulldisclosure/2017/Jan/33
- http://www.securityfocus.com/archive/1/539796/100/0/threaded
- http://www.securityfocus.com/bid/93903
- http://www.securitytracker.com/id/1037104
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-1247'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-1247'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-1247'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-1247'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).