CVE-2016-1247
nginx: Local privilege escalation via log files
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- 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
Weakness: CWE-59
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 9 fixes
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | nginx16-nginx +1 | wont fix |
| 9 | nginx +9 | affected |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nginx | 1.10.2-1 |
| 12 | nginx | 1.10.2-1 |
| 13 | nginx | 1.10.2-1 |
| 14 | nginx | 1.10.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nginx | 1.10.2-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-7-rubygem-passenger +4 | 6.0.8-3.2 | openSUSE-SU-2024:11341-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-nginx | 1.10.2-1 |
References
- legalhackers.com http://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
- packetstormsecurity.com http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html
- seclists.org http://seclists.org/fulldisclosure/2016/Nov/78
- seclists.org http://seclists.org/fulldisclosure/2017/Jan/33
- www.debian.org http://www.debian.org/security/2016/dsa-3701
- www.securityfocus.com http://www.securityfocus.com/archive/1/539796/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/93903
- www.securitytracker.com http://www.securitytracker.com/id/1037104
- www.ubuntu.com http://www.ubuntu.com/usn/USN-3114-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-1247
Show all 20 references
- legalhackers.com https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-1247
- security.gentoo.org https://security.gentoo.org/glsa/201701-22
- ubuntu.com https://ubuntu.com/security/notices/USN-3114-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-1247
- www.exploit-db.com https://www.exploit-db.com/exploits/40768/
- www.youtube.com https://www.youtube.com/watch?v=aTswN1k1fQs
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.