### [CVE-2016-1247](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1247) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://packetstormsecurity.com/files/139750/Nginx-Debian-Based-Distros-Root-Privilege-Escalation.html - http://seclists.org/fulldisclosure/2016/Nov/78 - https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html - https://www.exploit-db.com/exploits/40768/ - https://www.youtube.com/watch?v=aTswN1k1fQs #### Github - https://github.com/0dayhunter/Linux-Privilege-Escalation-Resources - https://github.com/ARPSyndicate/cvemon - https://github.com/AabyssZG/AWD-Guide - https://github.com/RabitW/root - https://github.com/SexyBeast233/SecBooks - https://github.com/TCM-Course-Resources/Linux-Privilege-Escalation-Resources - https://github.com/ZeusBanda/Linux_Priv-Esc_Cheatsheet - https://github.com/hungslab/awd-tools - https://github.com/lukeber4/usn-search - https://github.com/notnue/Linux-Privilege-Escalation - https://github.com/redcountryroad/OSCP-shortsheet - https://github.com/superfish9/pt - https://github.com/txuswashere/Pentesting-Linux - https://github.com/woods-sega/woodswiki - https://github.com/xkon/vulBox