CVE-2017-8540Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
71.9%
71.9% chance of exploitation in the next 30 days, higher than 99.4% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 24 Mar 2022.
Official description
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.
Source: NVD · CNA: secure@microsoft.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 24 Mar 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Microsoft Malware Protection Engine, Microsoft Endpoint Protection, Microsoft Exchange Server, Microsoft Forefront Endpoint Protection, Microsoft Forefront Security and compare its version with the affected versions.
Update to a fixed version
- Update Malware Protection Engine to 1.1.13704.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Malware Protection Engine | ≥ 1.1.13701.0, < 1.1.13704.0 · 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. |
| Microsoft Endpoint Protection | Not specified |
| Microsoft Exchange Server | 2013 · 2016 |
| Microsoft Forefront Endpoint Protection | 2010 |
| Microsoft Forefront Security | Not specified |
| Microsoft Intune Endpoint Protection | Not specified |
| Microsoft Security Essentials | Not specified |
| Microsoft System Center Endpoint Protection | Not specified |
| Microsoft Windows Defender | Not specified |
Weakness
- CWE-787 out-of-bounds write
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-8540 being exploited?
Yes. CISA added CVE-2017-8540 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 71.9% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-8540?
CVE-2017-8540 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Microsoft Malware Protection Engine (≥ 1.1.13701.0, < 1.1.13704.0; 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.), Microsoft Endpoint Protection, Microsoft Exchange Server (2013; 2016), Microsoft Forefront Endpoint Protection (2010), Microsoft Forefront Security, Microsoft Intune Endpoint Protection
Is there a patch for CVE-2017-8540?
The official record links to vendor advisories or patches; see “What to do” above.
References
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540(Mitigation, Patch, Vendor Advisory)
- www.exploit-db.com/exploits/42088/(Exploit, Third Party Advisory, VDB Entry)
- www.securityfocus.com/bid/98703(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1038571(Broken Link, Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.