Apple macOS up to 10.12.3 WebKit constructJSReadableStreamDefaultReader memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.apple.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB 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: 🔍
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: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: macOS 10.12.4
Timeline
12/01/2016 🔍03/27/2017 🔍
03/27/2017 🔍
03/27/2017 🔍
03/27/2017 🔍
03/28/2017 🔍
04/01/2017 🔍
04/04/2017 🔍
04/04/2017 🔍
04/11/2017 🔍
09/16/2024 🔍
Sources
Vendor: apple.comAdvisory: 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: 🔍
Entry
Created: 03/28/2017 11:00Updated: 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.
No comments yet. Languages: en.
Please log in to comment.