Re:Hack your way through Stripe's Capture the Flag
by ghost91 on Wednesday February 22, 2012 @06:09PM
(#3622938)
I replaced the date with my own script, but it still gets executed as level01 user
[ Parent
| on HN ]
Re:Hack your way through Stripe's Capture the Flag
by necubi on Wednesday February 22, 2012 @06:15PM
(#3622959)
Hint: not all shells blindly run scripts as the setuid user.
Re:Hack your way through Stripe's Capture the Flag
by alanstorm on Thursday February 23, 2012 @02:23PM
(#3626309)
HINT: For the purpose of this hint we'll assume your script is a bash script. If you've exploited the setuid program to run your script, bash may execute with the elevated permissions, but any program bash runs will run with your permissions.