2021 SERVER ROOT METHOD | Sudo exploit CVE-2021-3156

 



TUTORIAL FOR CVE 2021-3156


Download

Root shell PoC for CVE-2021-3156

For educational purposes etc.

Tested on Ubuntu 20.04 against sudo 1.8.31

You can check your version of sudo is vulnerable with: 

$ sudoedit -s Y.

 If it asks for your password it's most likely vulnerable, if it prints usage information it isn't. You can downgrade to the vulnerable version on Ubuntu 20.04 for testing purposes with 


$ sudo apt install sudo=1.8.31-1ubuntu1

Usage

$ make

$ ./exploit

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.