CIT CTF 2026 · Debug Disaster: a leaky debug page and a forgotten route
Flask debug=True leaks more than tracebacks — it leaked the source code of a forgotten route that dumps .env in cleartext.
CTFcit-ctf-2026web
2 posts
Flask debug=True leaks more than tracebacks — it leaked the source code of a forgotten route that dumps .env in cleartext.
The challenge name spells it out. At register time, record.update(incoming) lets the role field in the request body overwrite the hard-coded default.