7.8
HIGH
CVE-2016-1247
Nginx Root Privilege Escalation (Path Traversal)
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.

INFO

Published Date :

Nov. 29, 2016, 5:59 p.m.

Last Modified :

Nov. 7, 2023, 2:29 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-1247 has a 15 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-1247 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 F5 nginx
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-1247.

URL Resource
http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2016/Nov/78 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2017/Jan/33 Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3701 Vendor Advisory
http://www.securityfocus.com/archive/1/539796/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/93903 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037104 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-3114-1 Vendor Advisory
https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html Exploit Third Party Advisory
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 Third Party Advisory
https://www.exploit-db.com/exploits/40768/ Exploit Third Party Advisory VDB Entry
https://www.youtube.com/watch?v=aTswN1k1fQs Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

一些与awd竞赛相关的一些脚本,和经验笔记。

Python PHP Shell C CSS JavaScript

Updated: 5 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 28, 2024, 3:43 a.m. This repo has been linked 18 different CVEs too.

PT short hand

Updated: 1 month, 4 weeks ago
1 stars 0 fork 0 watcher
Born at : April 10, 2024, 1:54 a.m. This repo has been linked 2 different CVEs too.

Pentesting Linux

pentest pentest-scripts pentest-tool pentest-tools pentesters pentesting pentesting-tool pentest-linux pentesting-linux

Updated: 8 months, 1 week ago
2 stars 0 fork 0 watcher
Born at : Feb. 27, 2024, 9:47 a.m. This repo has been linked 3 different CVEs too.

从零学习AWD比赛指导手册以及AWD脚本整理

awd awd-tools security ctf ctf-framework ctf-tools

Python PHP Shell

Updated: 2 months ago
379 stars 27 fork 27 watcher
Born at : Oct. 13, 2023, 6:37 a.m. This repo has been linked 18 different CVEs too.

Compilation of Resources for Linux Privilege Escalation

Updated: 4 months, 1 week ago
8 stars 0 fork 0 watcher
Born at : Aug. 31, 2023, 3:41 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 7, 2023, 6:34 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 24, 2022, 11:33 a.m. This repo has been linked 3 different CVEs too.

None

HTML

Updated: 2 years, 4 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 23, 2022, 1:59 p.m. This repo has been linked 43 different CVEs too.

安全类各家文库大乱斗

HTML CSS JavaScript Go Python Shell C

Updated: 1 month, 4 weeks ago
856 stars 214 fork 214 watcher
Born at : Feb. 15, 2022, 3:14 a.m. This repo has been linked 568 different CVEs too.

None

HTML

Updated: 2 years, 1 month ago
1 stars 1 fork 1 watcher
Born at : Jan. 6, 2022, 6:42 a.m. This repo has been linked 43 different CVEs too.

None

Python

Updated: 2 months, 1 week ago
16 stars 4 fork 4 watcher
Born at : Sept. 3, 2020, 10:31 a.m. This repo has been linked 107 different CVEs too.

Compilation of Resources for TCM's Linux Privilege Escalation course

Updated: 2 months ago
518 stars 169 fork 169 watcher
Born at : June 23, 2020, 3 p.m. This repo has been linked 3 different CVEs too.

None

Python

Updated: 6 years, 4 months ago
0 stars 1 fork 1 watcher
Born at : June 7, 2018, 2:08 p.m. This repo has been linked 17 different CVEs too.

提权资料

Updated: 7 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Sept. 22, 2017, 1:41 a.m. This repo has been linked 1 different CVEs too.

漏洞测试与环境复现

Python Shell C

Updated: 1 year, 8 months ago
15 stars 8 fork 8 watcher
Born at : Aug. 18, 2016, 12:24 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-1247 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-1247 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/ [No types assigned]
    Added Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/ [No types assigned]
    Added Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/ [No types assigned]
    Removed Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/[email protected]/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/
    Removed Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/[email protected]/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/
    Removed Reference Debian GNU/Linux https://lists.fedoraproject.org/archives/list/[email protected]/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/
  • Modified Analysis by [email protected]

    Dec. 14, 2021

    Action Type Old Value New Value
    Removed CVSS V2 Metadata Obtain Admin/Root Access
    Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://seclists.org/fulldisclosure/2017/Jan/33 No Types Assigned http://seclists.org/fulldisclosure/2017/Jan/33 Mailing List, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/539796/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/539796/100/0/threaded Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201701-22 No Types Assigned https://security.gentoo.org/glsa/201701-22 Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/40768/ Exploit, VDB Entry https://www.exploit-db.com/exploits/40768/ Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://www.youtube.com/watch?v=aTswN1k1fQs No Types Assigned https://www.youtube.com/watch?v=aTswN1k1fQs Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Nov. 10, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:* versions from (including) 1.10.0 OR *cpe:2.3:a:f5:nginx:*:*:*:*:*:*:*:* versions from (including) 1.10.0
  • CPE Deprecation Remap by [email protected]

    Nov. 10, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:* versions from (including) 1.10.1 OR *cpe:2.3:a:f5:nginx:*:*:*:*:*:*:*:* versions from (including) 1.10.1
  • CPE Deprecation Remap by [email protected]

    Nov. 10, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:* versions from (including) 1.4.3 OR *cpe:2.3:a:f5:nginx:*:*:*:*:*:*:*:* versions from (including) 1.4.3
  • CPE Deprecation Remap by [email protected]

    Nov. 10, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:* versions from (including) 1.6.2 OR *cpe:2.3:a:f5:nginx:*:*:*:*:*:*:*:* versions from (including) 1.6.2
  • CVE Modified by [email protected]

    Apr. 30, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/ESTIADC7BDB6VTH4JAP6C6OCW2CQ4NHP/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/CBIZEKHBOCKO7FUMCO4X53ENMWU5OYFX/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 29, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/P3WOO7E5R2HT5XVOIOFPEFALILVOWZUF/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 09, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/539796/100/0/threaded [Third Party Advisory, VDB Entry]
    Added Reference http://www.securityfocus.com/archive/1/539796/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 24, 2017

    Action Type Old Value New Value
    Added Reference https://www.youtube.com/watch?v=aTswN1k1fQs [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 17, 2017

    Action Type Old Value New Value
    Changed Description The nginx package before 1.6.2-5+deb8u3 on Debian jessie and 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 allow local users with access to the web server user account to gain root privileges via a symlink attack on the error log. 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.
    Added Reference https://security.gentoo.org/glsa/201701-22 [No Types Assigned]
    Added Reference http://seclists.org/fulldisclosure/2017/Jan/33 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 29, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 AND OR *cpe:2.3:a:nginx:nginx:1.10.1:*:*:*:*:*:*:* (and previous) OR cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* Configuration 2 AND OR *cpe:2.3:a:nginx:nginx:1.10.0:*:*:*:*:*:*:* (and previous) OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Configuration 3 AND OR *cpe:2.3:a:nginx:nginx:1.6.2:*:*:*:*:*:*:* (and previous) OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Configuration 4 AND OR *cpe:2.3:a:nginx:nginx:1.4.3:*:*:*:*:*:*:* (and previous) OR cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2016/dsa-3701 No Types Assigned http://www.debian.org/security/2016/dsa-3701 Vendor Advisory
    Changed Reference Type https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html No Types Assigned https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html Third Party Advisory, Exploit
    Changed Reference Type http://www.securityfocus.com/bid/93903 No Types Assigned http://www.securityfocus.com/bid/93903 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.ubuntu.com/usn/USN-3114-1 No Types Assigned http://www.ubuntu.com/usn/USN-3114-1 Vendor Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/40768/ No Types Assigned https://www.exploit-db.com/exploits/40768/ VDB Entry, Exploit
    Changed Reference Type http://www.securitytracker.com/id/1037104 No Types Assigned http://www.securitytracker.com/id/1037104 Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html Third Party Advisory, VDB Entry, Exploit
    Changed Reference Type http://seclists.org/fulldisclosure/2016/Nov/78 No Types Assigned http://seclists.org/fulldisclosure/2016/Nov/78 Third Party Advisory, Mailing List
    Changed Reference Type http://www.securityfocus.com/archive/1/archive/1/539796/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/archive/1/539796/100/0/threaded Third Party Advisory, VDB Entry
    Added CWE CWE-59
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-1247 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-1247 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.09 }} 0.04%

score

0.39026

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability