In-depth lesson · RCE
Reports behind this point
Create a fake root with an nsswitch.conf pointing at a malicious library, run sudo with its chroot option against that directory and check whether the library loads as root.
In-depth lesson · RCE
Create a fake root with an nsswitch.conf pointing at a malicious library, run sudo with its chroot option against that directory and check whether the library loads as root.