Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-3156 — Proof-of-concept exploit for CVE-2021-3156 (Baron Samedit), a heap-based buffer overflow in sudo that allows local privilege escalation to root. Written in C and BASH, it spawns a root shell on vulnerable systems. | Kitploit
Tools/GitHubGitHub/theflash2k/cve-2021-3156
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubtheflash2k/cve-2021-3156

CVE-2021-3156

Proof-of-concept exploit for CVE-2021-3156 (Baron Samedit), a heap-based buffer overflow in sudo that allows local privilege escalation to root. Written in C and BASH, it spawns a root shell on vulnerable systems.

View Repository
115 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Baron Samedit - Sudo CVE 2021-3156 PoC

Written in BASH and C.

Written by: TheFlash2k/Ali Taqi Wajid

Usage:

root@kitploit:~
# This would spawn a root shell directly if the sudo is vulnerable.
$ make
$ ./exploit
Download Tool