Microsoft Windows 7 - 'WebDAV' Local Privilege Escalation (MS16-016) (2)

Author: hex0r
type: local
platform: windows
port: 
date_added: 2016-05-09  
date_updated: 2016-10-10  
verified: 1  
codes: CVE-2016-0051;MS16-016  
tags:   
aliases:   
screenshot_url: http://www.exploit-db.com/screenshots/idlt40000/eop2.png  
application_url:   

raw file: 39788.txt  
# Exploit Title: WebDAV Elevation of Privilege Vulnerability (MS16)-2
# Date: 8/5/2016
# Exploit Author: hex0r
# Version:WebDAV on Windows 7 84x
# CVE : CVE-2016-0051


Intro:
Credits go to koczkatama for coding a PoC, however if you run this exploit
from shell connection, not a remote desktop, the result will be getting the
privileged shell in new GUI windows.

Again Thanks to
https://github.com/koczkatamas/CVE-2016-0051
https://www.exploit-db.com/exploits/39432/

PoC:
Download the source code (C#) also there will be compiled version as well,
copy the dll file and the executable to the target machine, run it to get
SYSTEM,


Proof of Concept:
https://github.com/hexx0r/CVE-2016-0051
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/39788.zip