Skip to content
RCE Advisory Advanced CVE-2022-1134

GHSL-2022-042: Remote Code Execution in Chromium - CVE-2022-1134

A type confusion in V8's handling of simple API call accessors with super property access allowed an attacker to call an accessor with an incompatible receiver. This could lead to remote code execution in the Chrome renderer sandbox by visiting a malicious website.

m-y-mo Follow

Originally disclosed on GitHub Security Lab

A type confusion in v8 can lead to remote code execution in the Chrome renderer sandbox.

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 IC handler creation checked the type of the lookup start object, but the handler later used the receiver, so a super property access with an incompatible receiver bypassed the type check.

What the attacker needed

Victim visits a malicious website

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.

A type confusion happens when a program treats an object as a different type than it really is, which can cause unexpected behaviour. Here, the JavaScript engine (V8) incorrectly used a property accessor on the wrong object, and an attacker could exploit this to run their own code inside the browser's restricted area (the renderer sandbox).

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.