Share
## https://sploitus.com/exploit?id=82CBF7D1-21D2-5A2D-991F-621A44D742B0
This is a PoC exploit for CVE-2021-3156, a sudo vulnerability dubbed Baron Samedit by Qualys. The exploit is written in C and uses a heap overflow technique to gain elevated privileges. The exploit is designed to be run on a system with the vulnerable sudo version installed. The usage of the exploit is described in the README.md file, which includes options for building, listing targets, and running the exploit in manual mode. The exploit also includes a bruteforce target finding feature, which uses GNU parallel to try different combinations of input values to find a successful exploit. The exploit code includes a constructor function that sets the UID and GID to 0, allowing the exploit to run with elevated privileges.