aturt13 Dojo

Blind Format String Exploits

Exploiting format string vulnerabilities may seem challenging at first, but it essentially allows an attacker to gain both arbitrary read and write primitives. Once those primitives are obtained, code execution is just one step away. However, what happens when the output of the format string is not visible?

5 challenges

Challenges

CHALLENGE 01

level0

— solves

Refresh your knowledge of writing arbitrary values with format strings.

CHALLENGE 02

level1.0

— solves

Copy a secret to a known address.

CHALLENGE 03

level1.1

— solves

Copy a secret to an unknown address.

CHALLENGE 04

level2

— solves

What you see is all there is. What if you can't see anything? Use a blind format string exploit to perform ROP to gain code execution. Hint: The answer might be 42.

CHALLENGE 05

level3

— solves

No more bruteforce! Can you read using arbitrary write?