CVE DatabaseCVE-2017-0199
한국어 권고문 →
CVE-2017-01997.8/HIGHCISA KEV

Microsoft Office & WordPad OLE Remote Code Execution Vulnerability (CVE-2017-0199) Deep Dive & Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
office, wordpad, windows
Published Date
2017-04-12
CVSS v3.1
7.8
HIGH
EPSS (30d)
99.5%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Office 2007/2010/2013/2016, Windows Vista/7/8.1, and Windows Server 2008

Impact

Remote attackers can execute arbitrary code with the logged-in user's privileges by enticing a user to open a specially crafted document

Mitigation

Apply official Microsoft security patches immediately, restrict opening untrusted documents, and disable automatic OLE link updates via registry hardening

Affected Products & Version Scope

Microsoft Office 2007 SP3, 2010 SP2, 2013 SP1, 2016, and Windows Vista SP2, 7 SP1, 8.1, Windows Server 2008 SP2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the latest cumulative security updates provided by Microsoft. You can force Windows Update to search and install the required patches using PowerShell.

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

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, disable automatic OLE link updates in Microsoft Word and block outbound connections for mshta.exe via Windows Defender Firewall.

powershell
# Disable automatic OLE link updates in Word via Registry
$regPath = 'HKCU:\Software\Microsoft\Office\16.0\Word\Options'
if (-not (Test-Path $regPath)) { New-Item -Path $regPath -Force }
New-ItemProperty -Path $regPath -Name 'Options' -PropertyType DWord -Value 115 -Force

# Block outbound network connections for mshta.exe
New-NetFirewallRule -DisplayName 'Block Outbound MSHTA' -Direction Outbound -Program '%systemroot%\System32\mshta.exe' -Action Block

3. Log Audit & IoC Verification Commands

Audit process creation logs to detect anomalous child processes of Microsoft Office applications, specifically looking for mshta.exe spawned by Word or Excel.

powershell
# Query running processes to detect mshta.exe spawned by Office applications
Get-CimInstance Win32_Process | Where-Object {
    ($_.ParentProcessId -ne $null) -and 
    ((Get-Process -Id $_.ParentProcessId -ErrorAction SilentlyContinue).Name -match 'winword|excel|powerpnt') -and
    ($_.Name -eq 'mshta.exe')
} | Select-Object ProcessId, Name, CommandLine, CreationDate | Format-Table -AutoSize
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately apply Microsoft security updates for CVE-2017-0199 and restrict outbound execution of mshta.exe to prevent exploitation.

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

CVE-2017-0199 is a critical remote code execution (RCE) vulnerability in Microsoft Office and WordPad that occurs during the handling of specially crafted OLE (Object Linking and Embedding) objects. The root cause lies in the application's failure to properly validate and sanitize external OLE link sources, allowing an attacker to force the application to download and execute malicious scripts from a remote server.

2. Exploitation Mechanics & Attack Scenario

An attacker crafts a malicious RTF or DOC file containing an embedded OLE object pointing to an external malicious URL. When a victim opens the document, Office automatically initiates an HTTP request to the remote server to fetch the linked object. The attacker's server responds with a malicious HTA (HTML Application) payload accompanied by the Content-Type: application/hta header. Office processes this response by invoking mshta.exe, which executes the embedded script in the background without user interaction or warning.

3. Infrastructure & Business Impact

This vulnerability is actively exploited in the wild and is listed in the CISA KEV catalog with an EPSS score of 0.995, indicating an extremely high threat level. Successful exploitation grants the attacker full control over the victim's endpoint under the context of the current user. This can lead to lateral movement within the corporate network, deployment of ransomware, and exfiltration of sensitive business data.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2017-0199)

FAQ

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

CVE-2017-0199 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 99.5%. 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-0199?

Primary impacted vendors include microsoft across office, wordpad, windows. Scope summary: Microsoft Office 2007 SP3, 2010 SP2, 2013 SP1, 2016, and Windows Vista SP2, 7 SP1, 8.1, Windows Server 2008 SP2

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

[Mitigation] Apply official Microsoft security patches immediately, restrict opening untrusted documents, and disable automatic OLE link updates via registry hardening 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-0199

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-0199 Microsoft Office & WordPad OLE Remote Code Execution Vulnerability (CVE-2017-0199) Deep Dive & Mitigation Guide (CVSS 7.8) - Patch & Workaround | CVE Pulse