Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-8759: Microsoft .NET Framework SOAP WSDL Parser Code Injection

Published Sep 13, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS88.7%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2017-8759CWE-94 · Improper Control of Generation of…

CVE-2017-8759 is a code-injection vulnerability in the SOAP WSDL parser of Microsoft .NET Framework versions 2.0, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7. Improper parsing of attacker-controlled WSDL content permits arbitrary code execution through a malicious document or application. Observed attacks embedded a SOAP Moniker object in an RTF document to retrieve a malicious WSDL definition. Parsing that definition generated C# source that the framework compiled and Microsoft Office loaded as a library, executing attacker-controlled code. The vulnerability was actively exploited and patched in September 2017.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote, unauthenticated attacker can execute arbitrary code on an affected system, potentially resulting in full system compromise. Observed exploitation downloaded and executed additional malware, including Cobalt Strike and FinSpy. The resulting access and downstream effects depend on the execution context and deployed payload.

Mitigation

If you can’t patch tonight, do this now.

Enable Protected View for RTF documents in Microsoft Word to block public exploits. Use Microsoft Office Trust Center File Block Settings, or the corresponding registry controls, to prevent RTF documents from opening. Complement these controls with email attachment filtering and endpoint and network monitoring for exploit-driven payload delivery.

Remediation

Patch, then assume compromise.

Apply Microsoft's security update addressing CVE-2017-8759 to every affected .NET Framework installation, or upgrade to a fixed, supported version. Replace end-of-life software where supported security updates are unavailable.

Public exploits

Exploits

6 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2017-8759This repository contains a Python exploit toolkit for CVE-2017-8759, a remote code execution vulnerability in Microsoft .NET Framework. The toolkit (cve-2017-8759_toolkit.py) allows an attacker to generate a malicious RTF file that, when opened by a victim, triggers a SOAP WSDL request to an attacker-controlled server. The attacker can then deliver and execute arbitrary payloads (such as Meterpreter shells) on the victim's Windows system. The script supports two main modes: generating the malicious RTF file (embedding a remote URL) and exploitation mode (serving the payload to the victim). The README provides detailed usage instructions, including example commands and payload generation steps. The exploit is operational and can be used to achieve remote code execution on unpatched Windows systems running vulnerable versions of .NET Framework. The main entry point is the Python script, which handles both RTF generation and payload delivery. The exploit requires the attacker to specify URLs and file paths for payload delivery, making it flexible for different attack scenarios.bhdresh · Disclosed Sep 14, 2017 · python · networkOperationalCVE-2017-8759This repository is an exploit toolkit for CVE-2017-8759, a remote code execution vulnerability in Microsoft .NET Framework (versions 2.0 through 4.7). The main code file (CVE.cs) is a C# program that generates a malicious RTF document. The user provides the path to a shell executable and an output file location; the tool embeds the shell path into a specially crafted RTF payload. When the generated RTF file is opened on a vulnerable system, it triggers the exploit, resulting in execution of the specified shell. The repository includes standard Visual Studio project files, a README with usage instructions, and references to the developer's website and the original exploit. The exploit is operational, requiring the attacker to craft and deliver the malicious document to a target running a vulnerable version of .NET Framework on Windows.JonasUliana · Disclosed Sep 17, 2017 · csharp · xml · local · networkOperationalCVE-2017-8759-Exploit-sampleThis repository is a proof-of-concept exploit for CVE-2017-8759, a vulnerability in the Microsoft .NET Framework WSDL parser that allows remote code execution. The exploit chain involves a malicious Word document macro that downloads a specially crafted WSDL (exploit.txt) from a web server. The WSDL triggers the vulnerable parser, which results in the execution of mshta.exe to run a remote HTA file (cmd.hta). The HTA file contains VBScript that uses WMI to launch a PowerShell command, which in this sample runs mspaint.exe. The repository includes: - 'server.py': a simple Python HTTP server to host the exploit files. - 'exploit.txt': the malicious WSDL file that triggers the exploit. - 'cmd.hta': the payload file containing VBScript to execute the command. - 'README.md': instructions and background on the exploit. The exploit is a POC and demonstrates code execution (launching mspaint.exe) on a vulnerable Windows system. The main fingerprintable endpoints are the local HTTP server (http://127.0.0.1:8080), the mshta.exe binary, and the cmd.hta payload. The exploit requires user interaction (opening a malicious document) and a vulnerable configuration.Voulnet · Disclosed Sep 13, 2017 · python · vbscript · networkPoCCVE-2017-8759This repository provides a proof-of-concept exploit for CVE-2017-8759, a vulnerability in Microsoft Office (specifically PowerPoint) that allows remote code execution via maliciously crafted OOXML (PPTX/PPSX) files. The exploit demonstrates how a SOAP WSDL file can be manipulated to trigger mshta.exe to fetch and execute a remote HTA payload (w00t.hta), which in turn runs arbitrary code (calc.exe) on the victim's system using VBScript and WMI. The repository includes the main exploit components (logo.png as a crafted WSDL, w00t.hta as the payload), a detailed README explaining the exploitation technique and context, and several YARA rules for detection of related malicious documents. The attack vector is primarily network-based (malicious document delivery and remote payload fetching), but also leverages local execution via mshta.exe. The exploit is a proof-of-concept and does not include weaponized or customizable payloads beyond the demonstration of code execution.nccgroup · Disclosed Sep 13, 2017 · VBScript · YARA · network · localPoCCVE-2017-8759This repository provides a proof-of-concept (PoC) exploit for CVE-2017-8759, a vulnerability in Microsoft .NET Framework's SOAP WSDL parsing. The repository contains two files: a README.md with background and credits, and exploit.txt, which is a maliciously crafted WSDL (XML) file. The exploit leverages a <soap:address> element to invoke mshta.exe on the target Windows system, instructing it to fetch and execute a remote payload (e.g., https://example.com/cmd.jpg). The exploit demonstrates how an attacker can achieve arbitrary code execution on a vulnerable system by getting the target to process this WSDL file. The repository does not include a full weaponized payload, but provides the structure necessary for weaponization. No detection scripts are present; the content is focused on exploitation.vysecurity · Disclosed Sep 13, 2017 · xml · networkPoCCVE-2017-8759_-SOAP_WSDLThis repository is a proof-of-concept exploit for CVE-2017-8759, a remote code execution vulnerability in Microsoft .NET Framework when processing untrusted SOAP WSDL input. The repository contains three files: a README.md explaining the vulnerability and affected .NET Framework versions, a malicious RTF file (cve-2017-8759.rtf) designed to trigger the exploit when opened in Microsoft Word, and an Exploit.png file which actually contains embedded XML/SOAP/WSDL code (not an image) that demonstrates the attack vector. The exploit abuses the way .NET deserializes SOAP WSDL, allowing an attacker to execute arbitrary code (such as launching mshta.exe to fetch and run a remote HTA script). The attacker must host a web server to serve the payload, and the victim must open the malicious RTF document. The exploit targets multiple versions of Microsoft .NET Framework on Windows. The repository does not include a weaponized payload, but provides a working POC for the exploit chain.homjxi0e · Disclosed Sep 14, 2017 · rtf · xml · documentPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft Corporation.Net Frameworkapplication
FAQ

Frequently asked questions

Is CVE-2017-8759 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2017-8759?
Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2017-8759, the earliest disclosed Sep 13, 2017.
Is there a patch for CVE-2017-8759?
Apply Microsoft's security update addressing CVE-2017-8759 to every affected .NET Framework installation, or upgrade to a fixed, supported version. Replace end-of-life software where supported security updates are unavailable.
What products are affected by CVE-2017-8759?
Microsoft Corporation .Net Framework.
How severe is CVE-2017-8759?
CVE-2017-8759 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 88.7% (100th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence13Every report linking this CVE to a named adversary.
Associated malware24Malware families linked to this CVE, with evidence and IOCs.
Detection signatures5YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.