CVE DatabaseCVE-2017-8759
한국어 권고문 →
CVE-2017-87597.8/HIGHCISA KEVCWE-94

Microsoft .NET Framework SOAP WSDL Parser Remote Code Execution Vulnerability (CVE-2017-8759) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
.net_framework
Published Date
2017-09-13
CVSS v3.1
7.8
HIGH
EPSS (30d)
88.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Systems running Microsoft .NET Framework 2.0, 3.5, 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7

Impact

Remote attackers can execute arbitrary code with the privileges of the current user via a malicious document or application

Mitigation

Apply the official Microsoft security patches immediately and restrict untrusted outbound SOAP/WSDL connections

Affected Products & Version Scope

All Windows client and server operating systems running 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

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is to apply the official security updates provided by Microsoft. Use the following PowerShell commands to scan for and install missing security updates on Windows systems.

powershell
# Install and import the Windows Update module to apply security patches
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict outbound HTTP/SOAP requests to untrusted external servers. Additionally, block Microsoft Word from loading RTF files using the registry to mitigate the primary attack vector.

powershell
# Block Microsoft Word from opening RTF files via Registry
$regPath = 'HKCU:\Software\Microsoft\Office\16.0\Word\Security\FileBlock'
if (-not (Test-Path $regPath)) { New-Item -Path $regPath -Force }
New-ItemProperty -Path $regPath -Name 'RtfFiles' -Value 2 -PropertyType DWord -Force

3. Log Audit & IoC Verification Commands

Verify the installed .NET Framework versions and inspect the temporary directories for suspicious C# source files generated by the dynamic compilation process.

powershell
# Check installed .NET Framework versions
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | 
Get-ItemProperty -Name Version -ErrorAction SilentlyContinue | 
Select-Object PSChildName, Version

# Scan for recently created temporary C# files that might indicate exploitation attempts
Get-ChildItem -Path $env:TEMP -Filter '*.cs' -Recurse -ErrorAction SilentlyContinue | 
Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-7) }
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately apply Microsoft's official security updates for .NET Framework and monitor endpoint logs for anomalous child processes spawned by csc.exe.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability exists in the Microsoft .NET Framework when the System.Runtime.Remoting.MetadataServices.IsValidName method fails to properly sanitize input during the parsing of WSDL (Web Services Description Language) documents. When the SoapSuds tool or associated libraries dynamically generate and compile C# source code from a WSDL definition, an attacker can inject carriage return and line feed (\r\ ) characters followed by malicious C# code. This causes the parser to inject the arbitrary code directly into the generated source file before compilation.

2. Exploitation Mechanics & Attack Scenario

In a typical exploitation scenario, an attacker delivers a malicious Rich Text Format (RTF) or Microsoft Office document via spear-phishing. When the victim opens the document, an embedded OLE object triggers an outbound request to a malicious SOAP WSDL service hosted by the attacker. The .NET Framework WSDL parser processes the response, and due to the injection flaw, the C# compiler (csc.exe) compiles the injected malicious class. This leads to the execution of arbitrary payloads, such as downloading and executing a malicious DLL, in the background.

3. Infrastructure & Business Impact

As a highly critical vulnerability listed in the CISA KEV catalog with an EPSS score of 0.887 (88.7%), CVE-2017-8759 has been actively exploited in the wild by advanced persistent threat (APT) actors. Successful exploitation grants the attacker full control over the compromised endpoint, enabling lateral movement, sensitive data exfiltration, and ransomware deployment, posing a severe threat to enterprise infrastructure.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2017-8759)

FAQ

Q1. How critical is CVE-2017-8759 and is it actively exploited in the wild?

CVE-2017-8759 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 88.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2017-8759?

Primary impacted vendors include microsoft across .net_framework. Scope summary: All Windows client and server operating systems running 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

Q3. What temporary mitigations or workarounds exist for CVE-2017-8759 before patching?

[Mitigation] Apply the official Microsoft security patches immediately and restrict untrusted outbound SOAP/WSDL connections Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2017-8759

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2017-8759 Microsoft .NET Framework SOAP WSDL Parser Remote Code Execution Vulnerability (CVE-2017-8759) Analysis and Mitigation Guide (CVSS 7.8) - Patch & Workaround | CVE Pulse