CVE-2017-0199
Confirmed PUBLISHEDMicrosoft Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 SP1, Microsoft Office 2016, Microsoft Windows Vista SP2, Windows Server...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
Microsoft Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 SP1, Microsoft Office 2016, Microsoft Windows Vista SP2, Windows Server 2008 SP2, Windows 7 SP1, Windows 8.1 allow remote attackers to execute arbitrary code via a crafted document, aka "Microsoft Office/WordPad Remote Code Execution Vulnerability w/Windows API."
- CVE Published
- Apr 12, 2017
- Exploitation Reported
- Nov 03, 2021
- CVSS
- 7.8 High
- EPSS
- 99.9%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Microsoft Corporation |
Office/WordPad
|
Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 SP1, Microsoft Office 2016, Microsoft Windows Vista SP2, Windows Server 2008 SP2, Windows 7 SP1, and Windows 8.1 |
Affected |
CVE References
- 41894 exploit-db.com · Exploit https://www.exploit-db.com/exploits/41894/
- 41934 exploit-db.com · Exploit https://www.exploit-db.com/exploits/41934/
- 42995 exploit-db.com · Exploit https://www.exploit-db.com/exploits/42995/
- 97498 securityfocus.com · VDB Entry http://www.securityfocus.com/bid/97498
- 1038224 securitytracker.com · VDB Entry http://www.securitytracker.com/id/1038224
Show 6 more references
- blog.nviso.be/2017/04/12/analysis-of-a-cve-2017-0199-malic... blog.nviso.be · CVE Record https://blog.nviso.be/2017/04/12/analysis-of-a-cve-2017-0199-maliciou...
- rewtin.blogspot.nl/2017/04/cve-2017-0199-practical-exploitation... rewtin.blogspot.nl · CVE Record http://rewtin.blogspot.nl/2017/04/cve-2017-0199-practical-exploitatio...
- fireeye.com/blog/threat-research/2017/04/cve-2017-0199_u... fireeye.com · CVE Record https://www.fireeye.com/blog/threat-research/2017/04/cve-2017-0199_us...
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0199 portal.msrc.microsoft.com · CVE Record https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CV...
- ics-cert.us-cert.gov/advisories/ICSMA-18-058-02 ics-cert.us-cert.gov · CVE Record https://ics-cert.us-cert.gov/advisories/ICSMA-18-058-02
- mdsec.co.uk/2017/04/exploiting-cve-2017-0199-hta-handler... mdsec.co.uk · CVE Record https://www.mdsec.co.uk/2017/04/exploiting-cve-2017-0199-hta-handler-...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2021-11-03 00:00 UTC |
| Tenable Blog | 2026-06-02 14:20 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/office_word_hta.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
Exploitation Status
Exploited in the wild
Recorded 2021-11-03 00:00:00 UTC · CISA
Used in malware
Recorded 2021-11-03 00:00:00 UTC · CISA
Proof of concept available
Recorded 2017-04-13 02:41:36 UTC · GitHub
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/office_word_hta.rb | Apr 28, 2025 |
Recent Mentions
Tenable Blog · May 27, 2026
Tenable Research has developed a graph-based model linking 600+ threat groups to real-world customer exposures. It reveals which vulnerabilities sit at the intersection of severity, active exploitation, and organizational risk.Key takeawaysThe "patch everything" strategy is dead: Vulnerability prioritization based on exploitation risk offers a path forward. A directed graph model linking 600+ threat actors to vulnerabilities in 7,800 customer environments reveals that 68% of organizations carry at least one CVE previously exploited by a named adversary, and 321 tracked threat groups can reach at least one customer environment through an active vulnerability. Prevalence of "Elite Arsenal" CVEs requires immediate attention: The 242 "Elite Arsenal" CVEs — those meeting all three criteria of critical VPR (≥ 9), CISA KEV listing, and documented threat group exploitation — are nearly universally present across the studied customer base, with 241 of 242 actively detected. More than half are five or more years old, and 78% of the persistently exploited core are simultaneously weaponized by nation-state APTs, commodity malware operators, and ransomware gangs. Non-CVE exposures are universally dangerous: Non-CVE exposures, including misconfigurations, weak credentials, and end-of-life software, are present in virtually 100% of studied organizations, with 60% carrying at least one that maps to a tracked threat actor's preferred techniques. Preliminary modeling suggests these exposures may confer more breach risk than CVE-linked findings, yet no industry-standard scoring infrastructure exists to prioritize them.While the first two posts in this blog series documented the accelerating vulnerability flood and the widening remediation gap, today we answer the outstanding question: Where do these forces actually collide inside customer environments? Using a directed graph model that maps more than 600 tracked threat groups to vulnerabilities observed across 7,800 organizations,...
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-09-02 19:15:12 UTC · 0 stars
github · Created 2022-08-15 07:15:55 UTC · 2 stars
CVE-2017-0199复现
github · Created 2022-04-22 19:10:16 UTC · 0 stars
A python script/generator, for generating and exploiting Microsoft vulnerability
github · Created 2022-04-20 09:07:52 UTC · 1 stars
github · Created 2020-10-18 20:24:38 UTC · 0 stars
github · Created 2018-03-22 08:40:55 UTC · 0 stars
github · Created 2017-11-17 20:00:29 UTC · 2 stars
github · Created 2017-09-19 12:38:47 UTC · 0 stars
github · Created 2017-06-30 09:08:40 UTC · 0 stars
github · Created 2017-04-23 13:58:30 UTC · 2 stars
Exploit toolkit CVE-2017-0199 - v2.0 is a handy python script which provides a quick and effective way to exploit Microsoft RTF RCE. It could generate a malicious RTF file and deliver metasploit / meterpreter payload to victim without any complex configuration.
github · Created 2017-04-22 11:32:39 UTC · 2 stars
Exploit toolkit for vulnerability RCE Microsoft RTF
github · Created 2017-04-22 04:01:38 UTC · 7 stars
Exploit toolkit CVE-2017-0199 - v2.0 is a handy python script which provides a quick and effective way to exploit Microsoft RTF RCE. It could generate a malicious RTF file and deliver metasploit / meterpreter / any other payload to victim without any complex configuration.
github · Created 2017-04-18 06:33:45 UTC · 14 stars
Quick and dirty fix to OLE2 executing code via .hta
github · Created 2017-04-17 08:10:07 UTC · 727 stars
Exploit toolkit CVE-2017-0199 - v4.0 is a handy python script which provides pentesters and security researchers a quick and effective way to test Microsoft Office RCE. It could generate a malicious RTF/PPSX file and deliver metasploit / meterpreter / other payload to victim without any complex configuration.
github · Created 2017-04-13 02:41:36 UTC · 0 stars
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:20 UTC about 2 months ago14:20 UTC · about 2 months ago
KEV confirmed by Tenable Blog
Exploitation attested by an external source
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
First public exploitation report
Exploit observed in malware
-
02:41 UTC over 9 years ago02:41 UTC · over 9 years ago
Public PoC available
Public proof-of-concept code published
-
14:00 UTC over 9 years ago14:00 UTC · over 9 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC almost 10 years ago00:00 UTC · almost 10 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2017-0199
{
"cve_id": "CVE-2017-0199",
"title": "Microsoft Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 S...",
"affected_vendor": "Microsoft Corporation",
"affected_product": "Office/WordPad",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 7.8,
"epss_score": 0.99933,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}