Microsoft Windows up to Server 2016 Malware Protection Engine memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Microsoft Windows up to Server 2016. It has been rated as critical. Affected is an unknown function of the component Malware Protection Engine. This manipulation causes memory corruption. This vulnerability is registered as CVE-2017-8540. Remote exploitation of the attack is possible. Furthermore, an exploit is available. Upgrading the affected component is advised.
Details
A vulnerability was found in Microsoft Windows up to Server 2016 (Operating System). It has been declared as critical. Affected by this vulnerability is an unknown function of the component Malware Protection Engine. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 05/26/2017. The weakness was published 05/09/2017 by Mateusz Jurczyk with Google Security Research as confirmed advisory (Website). It is possible to read the advisory at portal.msrc.microsoft.com. This vulnerability is known as CVE-2017-8540 since 05/03/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are unknown but a public exploit is available.
A public exploit has been developed by Google Security Research and been published 3 weeks after the advisory. It is possible to download the exploit at github.com. It is declared as attacked. We expect the 0-day to have been worth approximately $100k and more. The vulnerability scanner Nessus provides a plugin with the ID 100551 (Microsoft Malware Protection Engine < 1.1.13804 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370407 (Microsoft Malware Protection Engine Privilege Escalation Vulnerability). The code used by the exploit is:
function gc() {
eval("var s='a';for(var i=0; i < 0x800; i++){s=s.replace('a', 'aaaaaaaa');}");
};
var x = Object();
// the first PoC didn't return a string here so toString ended up being the string 'undefined'
// if we do want to return a string object it has to have more than three characters so it doesn't use the
// inline string optimization
x.toString = function(){return String.fromCharCode(0x41, 0x41, 0x41, 0x41);};
var l = Object();
l.valueOf = function() {gc(); return 1;};
String.prototype.slice.call(x, l);The CISA Known Exploited Vulnerabilities Catalog lists this issue since 03/03/2022 with a due date of 03/24/2022:Apply updates per vendor instructions.Upgrading eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (42088), Tenable (100551), SecurityFocus (BID 98703†) and SecurityTracker (ID 1038571†). Similar entries are available at VDB-101810, VDB-101811, VDB-101812 and VDB-101813. Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Microsoft Windows 7 SP1 up to Server 2012 R2
- Microsoft Exchange Server 2013/2016
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.microsoft.com/
- Product: https://www.microsoft.com/en-us/windows
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.3VulDB Meta Temp Score: 8.1
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Attacked
Author: Google Security Research
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 100551
Nessus Name: Microsoft Malware Protection Engine < 1.1.13804 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 804425
OpenVAS Name: Microsoft Malware Protection Engine on Windows Defender Multiple Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Timeline
05/03/2017 🔍05/09/2017 🔍
05/09/2017 🔍
05/25/2017 🔍
05/26/2017 🔍
05/26/2017 🔍
05/26/2017 🔍
05/27/2017 🔍
05/30/2017 🔍
05/30/2017 🔍
05/31/2017 🔍
09/09/2024 🔍
Sources
Vendor: microsoft.comProduct: microsoft.com
Advisory: portal.msrc.microsoft.com
Researcher: Mateusz Jurczyk
Organization: Google Security Research
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-8540 (🔍)
GCVE (CVE): GCVE-0-2017-8540
GCVE (VulDB): GCVE-100-101815
OVAL: 🔍
SecurityFocus: 98703 - Microsoft Malware Protection Engine CVE-2017-8540 Remote Code Execution Vulnerability
SecurityTracker: 1038571
scip Labs: https://www.scip.ch/en/?labs.20161215
See also: 🔍
Entry
Created: 05/27/2017 09:50Updated: 09/09/2024 22:29
Changes: 05/27/2017 09:50 (94), 06/05/2020 21:59 (4), 04/23/2024 14:55 (29), 07/24/2024 16:40 (1), 09/09/2024 22:29 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.