Skip to content
Memory corruption Advisory Advanced CVE-2024-3833

GHSL-2024-070: Remote Code Execution (RCE) in Chromium - CVE-2024-3833

A check in Chromium's WebAssembly type reflection installation only verified the WebAssembly object for a Function property, but the installation also added properties to other objects without checking for duplicates. This could lead to object corruption and potentially remote code execution in the renderer.

m-y-mo Follow

Originally disclosed on GitHub Security Lab

Opening a malicious website in affected versions of Chrome can lead to object corruption that can be exploited to gain code execution in Chrome’s renderer.

m-y-mo, on GitHub Security Lab

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 code only checked for an existing 'Function' property on the WebAssembly object before installing type reflection features, but then added 'type' properties to other objects without checking if those properties already existed, leading to duplicate properties and object corruption.

Impact

This issue can be exploited to gain RCE in Chrome renderer.

What the attacker needed

Victim opens a malicious website; affected Chrome version

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.

Chrome uses a component called the renderer to display web pages. A bug in how Chrome set up certain built-in JavaScript features for WebAssembly allowed a malicious website to corrupt memory, which could let an attacker run their own code inside the renderer.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by m-y-mo

View all

64 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.