
Full-chain RCE exploit for CVE-2025-2783, a Chromium Ipcz sandbox escape vulnerability. Implements thread hijacking, V8 hooks, and shellcode execution for Windows systems up to Chrome v134.
This repository contains a full-chain exploit implementation for CVE-2025-2783. The vulnerability resides in Chromium's Ipcz communication layer, allowing an attacker to achieve sandbox escape and arbitrary code execution from a restricted renderer process. This exploit supports versions up to 134.0.6998.177.
https://github.com/user-attachments/assets/a3e2bf34-739c-4db7-9101-0f4d48987ad0
src/: Core exploit implementation. It includes the Ipcz hijacking logic, V8 hooks, and the thread hijacking execution flow for CVE-2025-2783.demo/: Full-chain demonstration environment. It triggers a V8 Type Confusion vulnerability via an HTML file and loads the binary payload compiled from src/, completing the entire chain from renderer process to Shellcode execution.third_party/ipcz (Chromium's Ipcz transport protocol implementation)RelayMessage.demo/ environment by hooking V8Console::Debug, securely extracting the second-stage Shellcode from an ArrayBuffer.OnAcceptRelayedMessage and constructs a spoofed relay request (Message ID: 0x69) to obtain a high-privileged handle via CVE-2025-2783.SetThreadContext.VirtualAlloc, ReadProcessMemory, and CreateThread within the target context to execute the Shellcode.src/)Since the code deeply depends on Chromium's internal ipcz and mojo libraries, it is highly recommended to integrate the src/ directory into the Chromium source tree and build it using GN and Ninja to ensure all internal dependencies are correctly linked.
demo/)src/ are ready (pre-compiled payload.bin and shellcode.bin are already provided in the demo/ directory).python -m http.server in the demo/ directory, then navigate to http://127.0.0.1:8000/exp.html in the browser.This repository is for academic and security research purposes only. The author is not responsible for any losses or legal liabilities caused by the use of this code. Please conduct tests only in authorized environments.