pwnPromedium

pwn9_mc4 — Mic Check: leak and pwn!

spbctf

Task: menu-driven glibc 2.31 heap allocator where delete() doesn't NULL the slot, making print and edit usable on freed chunks. Solution: unsorted-bin leak via a chunk > tcache max and a guard to prevent top-consolidation; tcache poisoning by editing the freed chunk's fd to __free_hook; write system into __free_hook; free('/bin/sh') → shell.

$ ls tags/ techniques/
unsorted_bin_leakfree_hook_overwritesystem_binshtcache_poisoning_no_safe_linking

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Sign in with GitHub to continue. No email required.

$sign in

$ grep --similar

Similar writeups