Microsoft Windows .NET Framework - Remote Code Execution

Author: Voulnet
type: remote
platform: windows
port: 
date_added: 2017-09-13
date_updated: 2017-09-13
verified: 0
codes: CVE-2017-8759
tags: 
aliases: 
screenshot_url: 
application_url: 

Source: https://github.com/Voulnet/CVE-2017-8759-Exploit-sample

Running CVE-2017-8759 exploit sample.

Flow of the exploit:

Word macro runs in the Doc1.doc file. The macro downloads a badly formatted txt file over wsdl, which triggers the WSDL parser log. Then the parsing log results in running mshta.exe which in turn runs a powershell commands that runs mspaint.exe

To test:

Run a webserver on port 8080, and put the files exploit.txt and cmd.hta on its root. For example python -m SimpleHTTPServer 8080

If all is good mspaint should run.


Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/42711.zip
↑