Skip to content
RCE Advisory Advanced CVE-2024-29944

(Pwn2Own) Mozilla Firefox Exposed Dangerous Function Sandbox Escape Vulnerability

A dangerous function exposed in Firefox's SessionStore component allowed an attacker with low-privileged code in the renderer process to escape the sandbox and execute arbitrary code at medium integrity. The flaw was exploited at Pwn2Own and fixed by Mozilla.

Manfred Paul Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows remote attackers to escape the sandbox on affected installations of Mozilla Firefox. An attacker must first obtain the ability to execute low-privileged code in the renderer process in order to exploit this vulnerability.

Manfred Paul (@_manfp), on the Zero Day Initiative

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

Impact

An attacker who already has low-privileged code execution in the renderer could escape the sandbox and execute arbitrary code at medium integrity.

What the attacker needed

Low-privileged code execution in renderer

The fix

Mozilla issued an update to correct the vulnerability.

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 sandbox is a security boundary that keeps code running in one part of a program (like a web page renderer) from affecting the rest of the system. Here, a function in Firefox's session-saving code was exposed in a way that let an attacker who already had limited code execution break out of that boundary and run code as the user. This is serious because it turns a contained compromise into a full system compromise.

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 Manfred Paul

View all

8 more disclosed reports, best first.

More from Zero Day Initiative

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.