Challenges › Binary Exploitation

Chaos on the Heap

medium · 150 XP · flag · free · solves: 0

A heap full of sloppy allocations had left memory in quiet chaos. Alex leaned into the mayhem and used it to leak the secret out.

The program has a use-after-free vulnerability: allocates an obj struct, frees it, then allocates a buf of the same size (16 bytes), which may reuse the freed chunk. Flag Format: STURSEC{..}

Tags: reverse engg.

Try next