
Browser-Exploit-Dojo (道場)
Overview
Browser-Exploit-Dojo is a curated archive of 50+ browser and JavaScript engine exploitation CTF challenges, organized by bug class, exploitation primitive, final technique, difficulty, and solve count. The goal is to document practical browser exploitation techniques through hands-on CTF challenges, with an initial focus on V8, while also covering other JavaScript engines such as SpiderMonkey, LibJS, and mJS.
The archive covers techniques such as type confusion, out-of-bounds access, JIT compiler bugs, WebAssembly exploitation, memory corruption, and exploit primitives leading to arbitrary read/write and code execution.
“Dojo” means a training place; this repository is intended as a practice-oriented archive for learning browser exploitation through CTF challenges.
Each challenge directory contains available challenge files, exploit code, technical analysis, and references to public writeups.
Challenges are organized by year, and the top-level Challenge List serves as an index to each challenge directory.
For technique-based navigation, see Techniques Index.
Note: Year folders are based on the year in which the event was held, not necessarily the year shown in the CTF name.
Browser-Exploit-Dojo(道場)は、50件以上のBrowser / JavaScript Engine Exploit の CTF 問題を、Bug・Primitive・Final Technique・Difficulty・Solve 数ごとに整理する技術アーカイブです。まずは V8 を中心に、実践的なブラウザエンジンの exploit 技術を体系的にまとめることを目指します。
Type Confusion、Out-of-Bounds Access、JIT Compiler の脆弱性、WebAssembly Exploitation、Memory Corruption、Arbitrary Read/Write、Code Execution など、ブラウザエンジンの exploit に関する技術を扱います。
「道場」は練習・鍛錬の場という意味です。本リポジトリは、CTF 問題を通じて Browser Exploit を学び、技術を比較・復習するための実践的なアーカイブです。
各問題のディレクトリには、入手可能な配布ファイル、exploit code、技術解説をまとめます。
各問題は開催年別に整理し、トップページの Challenge List から各問題へ移動できる構成にします。
技術別に探したい場合は Techniques Index を参照してください。
Note: 年度別フォルダは、CTF 名に含まれる年ではなく、実際の開催年を基準にします。
Disclaimer
This repository is intended for CTF learning, security research, and isolated local testing environments only. Do not run exploits against browsers, systems, or services without proper authorization.
Browser exploits may cause crashes, memory corruption, or arbitrary code execution. Use isolated environments and the exact challenge versions whenever possible.
本リポジトリは、CTF 学習、セキュリティ研究、および隔離されたローカル検証環境向けです。適切な許可なく、ブラウザ、システム、サービスに対して exploit を実行しないでください。
Browser exploit は、クラッシュ、メモリ破壊、任意コード実行などを引き起こす可能性があります。可能な限り、対象の challenge と同一のバージョンを隔離環境で使用してください。
Challenge List
Difficulty is based on exploit complexity, required engine knowledge, exploitation primitives, and solve count. Ratings are subjective and intended as practical learning references.
Difficulty は exploit の複雑さ、必要なエンジン内部の知識、利用する Primitive、Solve 数をもとに主観的に分類しています。学習や技術比較のための目安です。
| CTF |
Challenge |
Status |
Difficulty (Solves) |
Bug |
Primitive |
Final Technique |
| M*CTF 2025 Quals |
Baby Browser |
solved |
Easy (7) |
array length increment |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| RSTCON 2025 CTF |
Optimization |
solved |
Easy (?) |
array length decrement |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| PatriotCTF 2024 |
babyxss |
solved / writeup |
Easy (?) |
unchecked array length modification |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| SAS CTF 2024 Quals |
Ubercaged |
solved / writeup |
Easy (?) |
unchecked OOB access in Array.prototype.readAt / writeAt |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| picoCTF 2021 |
Kit Engine |
solved / writeup |
Easy (?) |
custom native-code execution API with RWX memory |
JavaScript-controlled native code execution |
x86-64 shellcode execution and flag disclosure |
| picoCTF 2021 |
Download Horsepower |
solved / writeup |
Easy (?) |
direct JSArray.length mutation |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| DownUnderCTF 2020 |
Is this pwn or web? |
solved / writeup |
Easy (10) |
incorrect JSArray.length update in Array.prototype.slice |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| Null CTF 2025 |
reloc8 |
solved / writeup |
Easy-Medium (10) |
inconsistent ToNumber() coercion enables bounds-check bypass |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| Infobahn CTF 2025 |
The Butterfly effect |
solved / writeup |
Easy-Medium (14) |
custom ArrayMagic builtin OOB access |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| Securinets CTF Quals 2025 |
Sukunahikona |
solved / writeup |
Easy-Medium (14) |
reentrant ToNumber() array length corruption |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| UTCTF 2025 |
E-Corp Part 2 |
solved / writeup |
Easy-Medium (31) |
invalid ElementsKind transition |
addrof / fakeobj / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| KalmarCTF 2023 |
mjs |
solved / writeup |
Easy-Medium (52) |
mJS raw function pointer arithmetic |
OOB read / write / call |
GOT Overwrite |
| DownUnderCTF 2022 |
optimal vee ate |
solved / writeup |
Easy-Medium (10) |
incorrect array length update in Array.prototype.concat() fast path |
out-of-bounds access, addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| *CTF 2019 |
OOB |
solved / writeup |
Easy-Medium (9) |
custom OOB array access |
addrof / fakeobj / AAR / AAW |
WebAssembly RWX shellcode execution |
| NexHunt CTF |
VowBreaker |
writeup |
Medium (10) |
AsyncIterator promise species type confusion |
type confusion => AAR / AAW |
WASM code overwrite => shellcode execution |
| TFC CTF 2025 |
SPECUL8 |
writeup |
Medium (4) |
TurboFan type inference bug in StringMultiply |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| DeadSec CTF 2025 |
DeadV8 Sandbox |
solved / writeup |
Medium (32) |
missing upper-32-bit clearing in liftoff i32 returns |
dispatch handle substitution => stack corruption via argument count mismatch |
sandbox violation trigger => crashFilter() flag disclosure or d8.file.read('/flag') |
| UMDCTF 2025 |
literally-1985 |
solved / writeup |
Medium (10) |
TurboFan JIT miscompilation (out-of-bounds access) |
addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| Google Capture The Flag 2024 |
HEAT |
writeup |
Medium (16) |
WasmTableObject type corruption |
AAR / AAW + pointer leak via wasm type confusion |
wasm JIT code overwrite + shellcode execution |
| osu!gaming CTF 2024 |
osu-v8 |
writeup |
Medium (17) |
missing write barrier in RegExpUtils::SetLastIndex |
UAF / addrof / fakeobj / AAR /AAW |
WebAssembly code pointer overwrite + shellcode execution |
| HITCON CTF 2022 |
⛓️ Fourchain - Hole |
writeup |
Medium (25) |
heHole key handling in Map.prototype.delete |
OrderedHashMap size corruption + addrof / AAR / AAW |
ROP-based code execution |
| RITSEC CTF 2021 |
Baby WASM |
solved / writeup |
Medium (5) |
integer underflow in WebAssembly.Memory.shrink() |
libc leak and arbitrary write via tcache poisoning |
__free_hook overwrite with system() |
| RITSEC CTF 2021 |
Teen WASM |
solved |
Medium (0) |
WebAssembly memory shrink size validation |
libc leak and arbitrary write via tcache poisoning |
__free_hook overwrite with system() |
| LINE CTF 2021 |
babychrome |
solved / writeup |
Medium (8) |
TurboFan -0 handling bug in signed 32-bit overflow analysis |
OOB array access => addrof / AAR / AAW |
WebAssembly code pointer overwrite + shellcode execution |
| picoCTF 2021 |
Turboflan |
writeup |
Medium (?) |
TurboFan LowerCheckMaps() map check bypass |
Float64/Object array type confusion, OOB read/write |
WebAssembly code pointer overwrite + shellcode execution |
| 0CTF/TCTF 2020 Quals |
Chromium RCE |
solved / writeup |
Medium (29) |
missing detached-ArrayBuffer validation in TypedArray.prototype.set() |
out-of-bounds memory read/write and address leaks |
libc leak and system() invocation |
| V1T CTF 2026 |
Acroform |
writeup |
Medium-High (32) |
AcroForm reset() reentrancy via resize() |
heap OOB => addrof / AAR / AAW |
sandbox escape => stack ROP => system("/readflag") |