Microsoft Windows up to Server 2016 Malware Protection Engine memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.3
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

05/03/2017 🔍
05/09/2017 +6 days 🔍
05/09/2017 +0 days 🔍
05/25/2017 +16 days 🔍
05/26/2017 +1 days 🔍
05/26/2017 +0 days 🔍
05/26/2017 +0 days 🔍
05/27/2017 +1 days 🔍
05/30/2017 +3 days 🔍
05/30/2017 +0 days 🔍
05/31/2017 +1 days 🔍
09/09/2024 +2658 days 🔍

Sourcesinfo

Vendor: microsoft.com
Product: 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: 🔍

Entryinfo

Created: 05/27/2017 09:50
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!