Google Chrome DrawElementsInstanced information leak vulnerability
An out-of-bounds read in Chrome's ANGLE WebGL implementation allows a malicious web page to cause a crash and potentially leak information. The attacker controls the offset and count parameters passed to drawElementsInstancedANGLE, leading to an invalid memory access.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the WebGL functionality of Google Chrome 83.0.4103.116 (Stable) (64-bit) and 86.0.4198.0 (Developer Build) (64-bit). Specially crafted JavaScript can cause an out-of-bounds read.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the offset and count parameters from JavaScript are not properly validated before being used to index into an index buffer, causing an out-of-bounds read.
Impact
A malicious web page could cause a browser crash and potentially leak information, though the report only demonstrates a crash.
What the attacker needed
Victim visits a malicious web page
The fix
The vendor patched the vulnerability, likely by adding bounds checks on the offset and count parameters.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
WebGL lets websites draw 3D graphics. A bug in how Chrome handles certain drawing commands means a malicious site can make the browser read memory it shouldn't, which could crash the browser or leak data. The victim just needs to visit a crafted page.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.