Challenges
SUID exploitation
Linux
Hard
Privilege escalation
Solves: 3
SUID exploitation
Author: CyberSamSU
Points
80
/usr/local/bin/sysinfo is a program marked with the SUID bit: for ANY user who runs it, it will be executed with root privileges.
Another system command is called within the program — but without specifying the FULL PATH (/bin/...), just by its name. In this case, the operating system searches for it in one of the directories specified in the $PATH variable — the first one found is used.
The flag is in /root/bayroq.txt, it cannot be read directly.
To start this challenge's lab, log in.
Theory: learn the topic
To submit a flag, log in.