Tags: pwn 

Rating: 2.0

Simple BOF vulnerability is in the **vote** routine.
If vote to **"oshima"**, we can overwrite chunk pointer and vote number.
So, we can continuously write everywhere with arbitary 1byte.
I use one_gadget and overwrite **__malloc_hook**.

Original writeup (https://github.com/vngkv123/CTF/blob/master/ctf_in_2017/seccon/election.py).
n0psledbyteDec. 11, 2017, 5:58 a.m.

how do you find one_gadget bro ?


n0psledbyteDec. 11, 2017, 6:01 a.m.

hmm, ok, i found
https://github.com/david942j/one_gadget