Sudo Service Privilege Escalation
The service command is vulnerable to privilege escalation if we can execute as root.
sudo -l
(ALL : ALL) /usr/sbin/service vsftpd restart
Copied!find / -name "*vsftpd*"
Copied!/lib/systemd/system/vsftpd.service
/etc/systemd/system/multi-user.target.wants/vsftpd.service
Copied!Last updated