Vulnerability Note VU#283803
Integrated GPUs may allow side-channel and rowhammer attacks using WebGL ("Glitch")
Some platforms with integrated GPUs, such as smartphones, may allow both side-channel and rowhammer attacks via WebGL, which may allow a remote attacker to compromise the browser on an affected platform. An attack technique that leverages these vulnerabilities is called "GLitch."
An academic paper describes an attack called "GLitch," which leverages two different techniques to achieve a compromise of a web browser using WebGL. The attack is only feasible on platforms where the CPU and GPU share the same memory, such as a smartphone or similar device. The two components of the attack are:
The side-channel attack
The precise timing capabilities provided by WebGL can allow an attacker to determine the difference between cached DRAM accesses and uncached DRAM accesses. This can allow an attacker to determine contiguous areas of physical DRAM memory. Knowledge of contiguous memory regions are used in a number of microarchitectural attacks, such as rowhammer.
The rowhammer attack
The rowhammer attack targets the design of DRAM memory. On a system where the DRAM is insufficiently refreshed, targeted operations on a row of DRAM memory may be able to influence the memory values on neighboring rows. Protections against the rowhammer attack include the use of ECC DRAM, as well as increased refresh rates. The LPDDR4 mobile memory standard also has optional hardware support for target row refresh, which can mitigate the rowhammer attack.
Combining the attacks with WebGL
The GLitch attack leverages both a side-channel attack to determine contiguous memory, as well as rowhammer. With the knowledge of contiguous memory, an attacker may be able to determine relative physical addresses. This knowledge of relative physical addresses can let the attacker know what memory locations to target with the rowhammer attack. The use of WebGL with precise timers is important in the GLitch attack for these reasons:
GLitch success rates in testing
It is important to realize that the GLitch attack has only successfully been demonstrated on the Nexus 5 phone, which was released in 2013. The Nexus 5 phone received its last software security update in October, 2015, and is therefore an already unsafe device to use. Several other phones released in 2013 were tested, but were not able to successfully be attacked with the GLitch attack. Success rates on phones newer than 2013 models were not provided. Non-Android devices were not tested as well.
Upon visiting a malicious or compromised website with a vulnerable device, an attacker may be able to bypass security features provided by the web browser.
Apply an update
Vendor Information (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|Affected||16 Mar 2018||03 May 2018|
|Mozilla||Affected||16 Mar 2018||03 May 2018|
|Microsoft||Not Affected||16 Mar 2018||25 Apr 2018|
|AMD||Unknown||16 Mar 2018||16 Mar 2018|
|Apple||Unknown||16 Mar 2018||16 Mar 2018|
|Arm||Unknown||-||26 Apr 2018|
|BlackBerry||Unknown||16 Mar 2018||16 Mar 2018|
|Brave Software||Unknown||16 Mar 2018||16 Mar 2018|
|Broadcom||Unknown||16 Mar 2018||16 Mar 2018|
|IBM, INC.||Unknown||26 Apr 2018||26 Apr 2018|
|Imagination Technologies||Unknown||16 Mar 2018||16 Mar 2018|
|Intel||Unknown||16 Mar 2018||16 Mar 2018|
|NVIDIA||Unknown||16 Mar 2018||16 Mar 2018|
|Opera||Unknown||16 Mar 2018||16 Mar 2018|
|QUALCOMM Incorporated||Unknown||16 Mar 2018||16 Mar 2018|
CVSS Metrics (Learn More)
This issue was reported by Pietro Frigo, Cristiano Giuffrida, Herbert Bos, and Kaveh Razavi of the Vrije Universiteit Amsterdam.
This document was written by Will Dormann and Trent Novelly.
- CVE IDs: CVE-2018-10229
- Date Public: 03 May 2018
- Date First Published: 03 May 2018
- Date Last Updated: 03 May 2018
- Document Revision: 45
If you have feedback, comments, or additional information about this vulnerability, please send us email.