tl;dr
- Leak with Format String bug.
- Use the arbitrary heap pointer write to overwrite
__GI__IO_file_jumps
. - Inject shellode in heap and get code execution in
dfprintf
.
tl;dr
__GI__IO_file_jumps
.dfprintf
.tl;dr
tl;dr
tl;dr
mmap_threshold
with null and trim top chunk size._IO_buf_base
and brute force to get allocation on stdin.tl;dr
/proc/<pid of child>/mem
tl;dr
tl;dr
tl;dr
tl;dr
tl;dr Linux client-server application heap exploitation