by sl0ck
COMPFEST13{R34deR_b3_n1Mbl3_12eAd3R_Be_qu1Cc_bu7_n0T_45_qU1cK_as_M3_a2b1c5313c}
My colleague Mr. Frink Zippy surfs the web a lot.. he never leaves his web browser! He even made a web app to read local files so he never has to leave his browser. He claims that his app is secure enough so that people still won't be able to read things they're not supposed to. I hope he's right.
easy-medium
- i start to doubt if the site can read as quickly as claimed...
bash injection, race condition, TOCTOU
- ./src/files jadi files pada home directory di container
flag.txt
perlu dichown
jadi root ($ sudo chown root:root ./flag.txt
) hanya readable oleh root ($ sudo chmod 400 ./flag.txt
)- Executable
admin_reader
perlu dichown
jadi root ($ sudo chown root:root ./admin_reader
) dan disetuid
($ sudo chmod 755 ./admin_reader ; sudo chmod u+s ./admin_reader
). - Python terinstall di container
Intentionally left empty