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.
6 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.
I played CIT CTF 2026 over the holiday — this is the index post for a short series of writeups covering Web, Crypto and Misc challenges.
Public exponent e=3, plaintext small enough that m³ never overflowed the modulus. Integer cube root and done.
78 seconds of dog barks. Three distinct bark durations encode bit 0, bit 1, and the byte separator. Not Morse — a custom code.
package.json pins next@15.0.4 — squarely inside the window for this year's React Server Components deserialization RCE.