CVE-2016-1247 Details
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.
A privilege escalation vulnerability has been identified in the Nginx web server packages on Debian-based distributions (including Debian Jessie and Ubuntu 14.04 LTS, 16.04 LTS, and 16.10) as well as Gentoo. This vulnerability allows local users with access to the web server user account (www-data) to gain root privileges through a symlink attack on the error log. The issue arises because the Nginx log directory is owned by www-data, enabling attackers to replace log files with symlinks to arbitrary files. When Nginx is restarted, it writes to the file pointed to by the symlink, allowing attackers to escalate privileges to root.
Users can upgrade to Nginx version 1.6.2-5+deb8u3 on Debian, 1.10.0-0ubuntu0.16.04.3 on Ubuntu 16.04 LTS, 1.4.6-1ubuntu3.6 on Ubuntu 14.04 LTS, or 1.10.1-0ubuntu1.1 on Ubuntu 16.10. Gentoo users should upgrade to Nginx version 1.10.2-r3 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| f5 nginx | <= 1.10.1 <= 1.10.0 <= 1.6.2 <= 1.4.3 |
CPE
Remediation
| |
| canonical ubuntu linux | 16.10 16.04 14.04 |
CPE
Remediation
| |
| debian debian linux | 8.0 |
CPE
Remediation
| |
| fedoraproject fedora | 33 34 35 |
CPE
Remediation
| |
Change History
16 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 6, 2026 | Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 14, 2021 | Modified Analysis | [email protected] |
| Nov 10, 2021 | CPE Deprecation Remap | [email protected] |
| Nov 10, 2021 | CPE Deprecation Remap | [email protected] |
| Nov 10, 2021 | CPE Deprecation Remap | [email protected] |
| Nov 10, 2021 | CPE Deprecation Remap | [email protected] |
| Apr 30, 2021 | CVE Modified | [email protected] |
| Apr 29, 2021 | CVE Modified | [email protected] |
| Oct 9, 2018 | CVE Modified | [email protected] |
| Feb 24, 2017 | CVE Modified | [email protected] |
| Feb 17, 2017 | CVE Modified | [email protected] |
| Nov 29, 2016 | Initial Analysis | [email protected] |