CVE-2016-1247

Summary

CVECVE-2016-1247
StatePUBLISHED
Assignerdebian
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-11-29 17:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.100690000 probability, percentile 0.931380000 (date 2026-05-10)

Problem Types: CWE-59 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 16.10 All All All
Operating System Debian Debian Linux 8.0 All All All
Application F5 Nginx All All All All
Application F5 Nginx All All All All
Application F5 Nginx All All All All
Application F5 Nginx All All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
NGINX: Privilege escalation (GLSA 201701-22) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
EP 1. G1VE M3 R00T | CVE 2016-1247 - YouTube af854a3a-2127-422b-91ae-364da2661108 www.youtube.com Exploit, Third Party Advisory
Nginx Root Privilege Escalation ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
[SECURITY] Fedora 34 Update: nginx-1.20.0-2.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Debian -- Security Information -- DSA-3701-1 nginx af854a3a-2127-422b-91ae-364da2661108 www.debian.org Vendor Advisory
Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247 af854a3a-2127-422b-91ae-364da2661108 legalhackers.com Exploit, Third Party Advisory
USN-3114-1: nginx vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Vendor Advisory
nginx on Debian Log File Permissions Let Local Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
Full Disclosure: Nginx (Debian-based distros) - Root Privilege Escalation Vulnerability (CVE-2016-1247) af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Nginx CVE-2016-1247 Remote Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
[SECURITY] Fedora 33 Update: nginx-1.20.0-2.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: nginx-1.20.0-2.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Nginx (Debian-Based + Gentoo) - 'logrotate' Local Privilege Escalation af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Full Disclosure: Nginx (Debian-based + Gentoo distros) - Root Privilege Escalation [CVE-2016-1247 UPDATE] af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
[SECURITY] Fedora 33 Update: nginx-1.20.0-2.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: nginx-1.20.0-2.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: nginx-1.20.0-2.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 281277 Fedora Security Update for nginx (FEDORA-2021-3aa9ac7fd1)
  • 281278 Fedora Security Update for nginx (FEDORA-2021-1556d440ba)
  • 281279 Fedora Security Update for nginx (FEDORA-2021-10c1cd4cba)
  • 356191 Amazon Linux Security Advisory for nginx : ALASNGINX1-2023-005

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report