CVE-2017-8540
CONFIRMED EXPLOITEDMicrosoft Malware Protection Engine Improper Restriction of Operations Vulnerability
Is Microsoft Malware Protection Engine affected by CVE-2017-8540?
Microsoft Malware Protection Engine is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2017-8540, added on 2022-03-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (11 vulnerable CPE entries): microsoft endpoint_protection, microsoft exchange_server, microsoft forefront_endpoint_protection, microsoft forefront_security, microsoft intune_endpoint_protection and microsoft malware_protection_engine and 3 further CPE product entries.
Published CPE version bounds mark releases below 1.1.13704.0 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-03-24.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-124194Same vendorMicrosoft Office
Microsoft Office Outlook Missing User Interaction for Potentially Unsafe Action Vulnerability
- CVE-2026-96951Same vendorMicrosoft Windows
Microsoft Windows Command Injection Vulnerability
- CVE-2026-65660Same vendorMicrosoft SharePoint
Microsoft SharePoint Code Injection Vulnerability
- CVE-2026-85880Same vendorMicrosoft Windows
Microsoft Windows Heap-Based Buffer Overflow Vulnerability
- CVE-2017-6744Neighboring entryCisco IOS software
Cisco IOS Software SNMP Remote Code Execution Vulnerability
- CVE-2018-0151Neighboring entryCisco IOS and IOS XE Software
Cisco IOS Software and Cisco IOS XE Software Quality of Service Remote Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
The Microsoft Malware Protection Engine running on Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, Windows 10 Gold, 1511, 1607, and 1703, and Windows Server 2016, Microsoft Exchange Server 2013 and 2016, does not properly scan a specially crafted file leading to memory corruption. aka "Microsoft Malware Protection Engine Remote Code Execution Vulnerability".
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
The Microsoft Malware Protection Engine running on Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, Windows 10 Gold, 1511, 1607, and 1703, and Windows Server 2016, Microsoft Exchange Server 2013 and 2016, does not properly scan a specially crafted file leading to memory corruption. aka "Microsoft Malware Protection Engine Remote Code Execution Vulnerability", a different vulnerability than CVE-2017-8538 and CVE-2017-8541.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-03-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Malware Protection Engine has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Mail / messaging surface (Microsoft Malware Protection Engine): inspect MTA transaction and authentication logs (`/var/log/mail.log`, Exchange message tracking), `Zeek smtp.log` / `ssl.log`, and webmail access logs for anomalous auth sequences or unexpected child processes.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
- Inventory all hosts running Microsoft Malware Protection Engine and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://www.securityfocus.com/bid/98703Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038571Broken LinkThird Party AdvisoryVDB Entry
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540MitigationPatchVendor Advisory
- https://www.exploit-db.com/exploits/42088/ExploitThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/98703Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038571Broken LinkThird Party AdvisoryVDB Entry
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540MitigationPatchVendor Advisory
- https://www.exploit-db.com/exploits/42088/ExploitThird Party AdvisoryVDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Rust-powered Windows Event Log (EVTX) fast forensics timeline generator & Sigma engine
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Open-source XDR and SIEM platform for endpoint and cloud security monitoring
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting