Closed Ch0pin closed 2 years ago
This technique may work for all versions. I'll add it to other versions as well once you finish the modifications. Thank you for your contribution!
Hi @Kyle-Kyle , I made the changes you requested. I also have a relevant write-up here, in case you want to add a reference. Thank you for your remarks.
it looks good to me. I'll add a reference in the exploit. Thanks for your contribution!
This is an interesting technique. It is another new technique to bypass the double-free check in glibc-2.31. The core idea here is to
malloc_consolidate
to merge fastbin into top chunkSo, in the existing poc, p2 is not necessary, you may want to remove it to avoid confusion to readers. And please add explanation on why it works (what happens during malloc_consolidate: p1 gets merged into top chunk)