Sudo: CVE-2019-14287 – Fascinating reminder that security is hard
openwall.com
openwall.com
:/
> username ALL=(ALL, !root) ALL
would be vulnerable; this is trying to let username run commands as any other user _except_ root, but using this vuln the user can get around it.
You can duplicate it by running (as a user with sudo ALL privileges) `sudo -u#-1 id`; it'll show 0, for root.