Linux PrivEsc
Location: Island of Misfit Toys: Ostrich Saloon
Last updated
Location: Island of Misfit Toys: Ostrich Saloon
Last updated
Find a method to escalate privileges inside this terminal and then run the binary in /root
While we enumerate for potential paths to elevate our privileges, we find a binary named "simplecopy" that has the user sticky bit set.
Because this binary has the sticky bit set for user, it will run with the privileges of the owner. Since the owner is root, exploiting it may give us root privs.
It appears that it is indeed a simple copy utility. We find that we are able to inject commands into the arguments for this binary. Using this vulnerability, we can spawn a shell as Root & run the binary specified in the objective to complete this challenge.