Task: KringleCon Kiosk
Opening the Kiosk presented another interactive terminal session.
Main Menu:
Map:
Code of Conduct and Terms of Use:
Print Name Badge:
________
< borari >
--------
\
\ \_\_ _/_/
\ \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
Can I just enter in a sub-command as my name and have it evaluated?
Yeah?
Oh, stdout is being redirected to the cowsays bubble…
Can I just redirect it to stdin? Whoops, think I needed 0>&1.
No, I needed 1>&0.
I grabbed the welcome.sh source code and saved it.
Ok, there is a binary that has the suidbit set… I tried overflowing it, couldn’t. Couldn’t dump it or base64 encode it for retrieval either.
Opt has all the files for the kiosk menu.
Oh cool, there's a directory that wasn't available in the main menu.
Not sure what mailbox.txt is.
_________
.`. `.
/ \ .======.\
| | |______||
| | _____ |
| | / / |
| | /____/ |
| _ | |
|/ \|.-"```"-.|
`` ||| |||
jgs `"` `"
Or plant.
Hi, my name is Jason the Plant!
( U
\| )
__|/
\ /
\__/ ejm96
Reindeer.cow shows why the kiosk code was vulnerable, it's just an <<EOC, echo in.
Next: objective-2