Type confusion in ChromiumCDMChild::ExtractShmem (sandbox escape from content to GMP process)
A type confusion flaw in ChromiumCDMChild::ExtractShmem allows a compromised renderer to escape the sandbox and execute code in the GMP process via RCP calls. The issue affects Firefox 141 on Linux and is cross-platform.
- Fixed in 12 days
- Paid in 18 days
- Disclosed after 12 days
Created attachment 9503136
gmp_vuln_setup.tar.gz
I found a sandbox escape from a renderer to the gmp process via rcp calls which could lead to code execution.
relevant for the main branch, tested specifically on firefox-141 - linux, however, the issue is cross-platform.
attached is a tar.gz which contains the documentation for the vulnerability (md file), the asan report, and files to reproduce.
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
A compromised renderer could escape the sandbox and execute code in the GMP process, though the text does not specify whether other defences limit this.
What the attacker needed
Compromised renderer; Firefox 141 on Linux (tested)
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 escape lets an attacker who already controls one part of the browser (the renderer) break into a more privileged part (the GMP process) that handles media plugins. The bug is a type confusion, meaning the program treats one kind of data as another, which can lead to running attacker code.
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.