# CVE-2016-1247

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 16-11-2016)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2016-11-29 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2016-1247, USN-3114-1, DEBIAN-CVE-2016-1247, DSA-3701-1
- Record: https://cvemate.com/vulnerability/CVE-2016-1247 · JSON: https://cvemate.com/vulnerability/CVE-2016-1247/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.863%, percentile 92.279%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 4 (reference, exploit-database)

## Affected

- debian nginx (Debian): \< 1.10.2-1 \| \< 1.6.2-5+deb8u3
- ubuntu nginx (Ubuntu): \< 1.4.6-1ubuntu3.6 \| \< 1.10.0-0ubuntu0.16.04.3
- f5 nginx: ≤ 1.10.1 \| ≤ 1.10.0 \| ≤ 1.6.2 \| ≤ 1.4.3
- fedoraproject fedora: 33 \| 34 \| 35

## References

- <https://www.exploit-db.com/exploits/40768/>
- <http://www.securityfocus.com/archive/1/539796/100/0/threaded>
- <http://www.debian.org/security/2016/dsa-3701>
- <https://www.youtube.com/watch?v=aTswN1k1fQs>
- <http://www.securityfocus.com/bid/93903>
- <https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html>
- <http://www.ubuntu.com/usn/USN-3114-1>
- <http://seclists.org/fulldisclosure/2017/Jan/33>
- <https://security.gentoo.org/glsa/201701-22>
- <http://www.securitytracker.com/id/1037104>
- <http://seclists.org/fulldisclosure/2016/Nov/78>
- <http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/>
- <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/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/>
- <https://ubuntu.com/security/CVE-2016-1247>
- <https://ubuntu.com/security/notices/USN-3114-1>
- <http://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html>
- <https://www.cve.org/CVERecord?id=CVE-2016-1247>
- <https://security-tracker.debian.org/tracker/CVE-2016-1247>

---

Data as of 2026-12-05T03:33:38.637Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
