Apple macOS up to 10.12.3 WebKit constructJSReadableStreamDefaultReader 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.
7.2$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Apple macOS up to 10.12.3. This affects the function constructJSReadableStreamDefaultReader of the component WebKit. Performing a manipulation results in memory corruption. This vulnerability is reported as CVE-2017-2457. The attack is possible to be carried out remotely. Moreover, an exploit is present. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Apple macOS up to 10.12.3 (Operating System). It has been classified as critical. This affects the function constructJSReadableStreamDefaultReader of the component WebKit. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability.

The bug was discovered 03/27/2017. The weakness was disclosed 03/27/2017 by Lufeng Li (lokihardt) with Google Project Zero as HT207615 as confirmed advisory (Website). It is possible to read the advisory at support.apple.com. This vulnerability is uniquely identified as CVE-2017-2457 since 12/01/2016. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known. The advisory points out:

Multiple memory corruption issues were addressed through improved memory handling.

After 2 weeks, there has been an exploit disclosed. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 99278 (Ubuntu 16.04 LTS / 16.10 : webkit2gtk vulnerabilities (USN-3257-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196754 (Ubuntu Security Notification for Webkit2gtk Vulnerabilities (USN-3257-1)). The code used by the exploit is:

let rs = new ReadableStream();
let cons = rs.getReader().constructor;
 
rs.getReader = 0x12345;
new cons(rs);

Upgrading to version 10.12.4 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 (41803), Tenable (99278) and SecurityFocus (BID 97147†). The entries VDB-98600, VDB-98595, VDB-98597 and VDB-98593 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.2

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

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

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 99278
Nessus Name: Ubuntu 16.04 LTS / 16.10 : webkit2gtk vulnerabilities (USN-3257-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 801105
OpenVAS Name: Apple Mac OS X Multiple Vulnerabilities-HT207615
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: 🔍

Upgrade: macOS 10.12.4

Timelineinfo

12/01/2016 🔍
03/27/2017 +116 days 🔍
03/27/2017 +0 days 🔍
03/27/2017 +0 days 🔍
03/27/2017 +0 days 🔍
03/28/2017 +1 days 🔍
04/01/2017 +4 days 🔍
04/04/2017 +3 days 🔍
04/04/2017 +0 days 🔍
04/11/2017 +7 days 🔍
09/16/2024 +2715 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: HT207615
Researcher: Lufeng Li (lokihardt)
Organization: Google Project Zero
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-2457 (🔍)
GCVE (CVE): GCVE-0-2017-2457
GCVE (VulDB): GCVE-100-98727
SecurityFocus: 97147 - Apple macOS/iOS Multiple Security Vulnerabilities
OSVDB: - CVE-2017-2457 - Apple - Multiple Products - Memory Corruption Issue
SecurityTracker: 1038138

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

Entryinfo

Created: 03/28/2017 11:00
Updated: 09/16/2024 21:31
Changes: 03/28/2017 11:00 (78), 08/28/2020 18:22 (16), 11/20/2022 15:25 (4), 09/16/2024 21:31 (16)
Complete: 🔍
Cache ID: 216:778:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!