
Exploit for CVE-2021-3156 (Baron Samedit) sudo heap-based buffer overflow, enabling local privilege escalation to root on vulnerable systems.
CVE-2021-3156 exploit Introduction
This is an exploit for the CVE-2021-3156 sudo vulnerability (dubbed Baron Samedit by Qualys).
build:
$ make
list targets:
$ ./sudo-hax-me-a-sandwich
run:
$ ./sudo-hax-me-a-sandwich <target_number>