Microsoft Edge Scripting Engine Op_MaxInAnArray/Op_MinInAnArray 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.
5.8$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in Microsoft Edge. Affected by this vulnerability is the function Op_MaxInAnArray/Op_MinInAnArray of the component Scripting Engine. Such manipulation leads to memory corruption. This vulnerability is listed as CVE-2017-11893. The attack may be performed from remote. In addition, an exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability was found in Microsoft Edge (Web Browser) (unknown version). It has been rated as critical. Affected by this issue is the function Op_MaxInAnArray/Op_MinInAnArray of the component Scripting Engine. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. CVE summarizes:

ChakraCore and Microsoft Edge in Windows 10 1511, 1607, 1703, 1709, and Windows Server 2016 allows an attacker to execute arbitrary code in the context of the current user, due to how the scripting engine handles objects in memory, aka "Scripting Engine Memory Corruption Vulnerability". This CVE ID is unique from CVE-2017-11886, CVE-2017-11889, CVE-2017-11890, CVE-2017-11894, CVE-2017-11895, CVE-2017-11901, CVE-2017-11903, CVE-2017-11905, CVE-2017-11907, CVE-2017-11908, CVE-2017-11909, CVE-2017-11910, CVE-2017-11911, CVE-2017-11912, CVE-2017-11913, CVE-2017-11914, CVE-2017-11916, CVE-2017-11918, and CVE-2017-11930.

The bug was discovered 12/12/2017. The weakness was presented 12/12/2017 by lokihardt with Google Project Zero as KB4053578 as confirmed security update guide (Website). The advisory is shared for download at portal.msrc.microsoft.com. This vulnerability is handled as CVE-2017-11893 since 07/31/2017. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known. The advisory points out:

A remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Microsoft Edge. The vulnerability could corrupt memory in such a way that an attacker could execute arbitrary code in the context of the current user. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, an attacker who successfully exploited the vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

A public exploit has been developed by Google Security Research and been published 4 weeks after the advisory. The exploit is available at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 105180 (KB4053579: Windows 10 Version 1607 and Windows Server 2016 December 2017 Security Update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows : Microsoft Bulletins and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 91416 (Microsoft Edge Security Update for December 2017). The code used by the exploit is:

function opt(arr, arr2) {
    arr[0] = 1.1;
    Math.max.apply(Math, arr2);
    arr[0] = 2.3023e-320;
}
 
function main() {
    let arr = [1.1, 2.2, 3.3, 4.4];
    for (let i = 0; i < 10000; i++) {
        opt(arr, [1, 2, 3, 4]);
    }
 
    Math.max = function () {
        arr[0] = {};
    };
 
    opt(arr, {});  // can't handle, calls Math.max
    print(arr[0]);
}
 
main();

Applying the patch KB4053578 is able to eliminate this problem. The bugfix is ready for download at catalog.update.microsoft.com. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (43466), Tenable (105180) and SecurityFocus (BID 102081†). See VDB-110522, VDB-110525, VDB-110526 and VDB-110531 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 5.8

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

Vendor Base Score (Microsoft): 4.2
Vendor Vector (Microsoft): 🔍

NVD Base Score: 7.5
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: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Google Security Research
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 105180
Nessus Name: KB4053579: Windows 10 Version 1607 and Windows Server 2016 December 2017 Security Update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 56516
OpenVAS Name: Microsoft Windows Multiple Vulnerabilities (KB4054517)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: KB4053578

Timelineinfo

07/31/2017 🔍
12/12/2017 +134 days 🔍
12/12/2017 +0 days 🔍
12/12/2017 +0 days 🔍
12/12/2017 +0 days 🔍
12/12/2017 +0 days 🔍
12/12/2017 +0 days 🔍
12/13/2017 +1 days 🔍
01/09/2018 +27 days 🔍
01/09/2018 +0 days 🔍
06/14/2024 +2348 days 🔍

Sourcesinfo

Vendor: microsoft.com

Advisory: KB4053578
Researcher: lokihardt
Organization: Google Project Zero
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-11893 (🔍)
GCVE (CVE): GCVE-0-2017-11893
GCVE (VulDB): GCVE-100-110528

OVAL: 🔍

SecurityFocus: 102081 - Microsoft Edge Scripting Engine CVE-2017-11893 Remote Memory Corruption Vulnerability
SecurityTracker: 1039990

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 12/13/2017 07:49
Updated: 06/14/2024 21:49
Changes: 12/13/2017 07:49 (98), 12/24/2019 15:04 (7), 01/26/2021 19:15 (2), 06/14/2024 21:49 (16)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!