
Firefox/Tor Browser 0day exploit analysis (CVE-2024-9680) A UAF in animation timelines leading to RCE. Patched.
UAF (Use-After-Free) in Animation Timelines - Remote Code Execution Vulnerability
Actively exploited in the wild targeting Tor Browser users
This repository contains a comprehensive analysis and educational demonstration of CVE-2024-9680, a critical UAF (use-after-free) vulnerability in Firefox's animation timeline management that allows remote code execution in the browser's content process.
Patches applied: November 5, 2024
Original Exploit Code
The complete, unmodified exploit code from wild exploitation is preserved in this repository for research and analysis purposes. The code is provided exactly as it was found during active attacks.
Educational Analysis
A modified, safety-hardened version with detailed technical stage-by-stage breakdown of the exploitation process.
Security Analysis
The repository provides multiple ways to analyze the exploit:
Encoded shellcode delivery via Web Workers
Complex SVG animation structures with circular timing references
Heap spraying and UAF trigger through animation attribute manipulation
Analysis of intended secondary payload delivery
pauseAnimations()git clone https://github.com/moscovium-mc/Tor-0day-JavaScript-Exploit
cd Tor-0day-JavaScript-Exploit
# Open exploit/index.html in a PATCHED browser for analysis
[!NOTE] This exploit only works on unpatched versions. Make sure you are using a patched browser (Firefox >= 131.0.2) for analysis.
[!TIP] For security researchers: Use a sandboxed VM environment when analyzing exploit code.
[!WARNING] EDUCATIONAL AND RESEARCH PURPOSES ONLY
This repository contains analysis of real-world exploit code for educational purposes.
[!IMPORTANT] While dedicated to the public domain under CC0 1.0 Universal, users are solely responsible for compliance with all applicable laws and regulations. See LICENSE for complete terms.
[!CAUTION] The original malicious functionality has been disabled and safety measures have been implemented. The authors assume no responsibility for misuse. Use ethically and legally.
Official References
Related Research