Skip to content

Latest commit

 

History

History

babyheap2019

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

0CTF 2019 - Baby Heap 2019

The challenge uses libc 2.28 on Ubuntu.

Vulnerabilities

A null-byte off-by-one when update the chunk.

Exploit

The script is the official solution for this challenge. Due to the limitation of chunk size (0x20~0x60), we need to trigger malloc_consolidate to free fastbin chunk. To achieve this purpose, the top chunk should be exhausted.