Post

Sudoers Privilege Escalation - Linux PE.

Sudoers Linux Privilege escalation.

Sudoers Privilege Escalation - Linux PE.

Sudoers Privilege Escalation.

sudo -l -> When you execute sudo -l, it checks the sudoers configuration file (typically located at /etc/sudoers)
to determine what commands the current user is allowed to run with other user privileges.
img-description

Afterwards, we can try checking gtfobins to see if we can get a shell, read a file, or run some interesting commands as a different user.

img-description img-description

/etc/sudoers

If we have sufficient permissions, we can attempt to modify the /etc/sudoers file to gain additional privileges. user ALL=(ALL:ALL) ALL

This post is licensed under CC BY 4.0 by the author.