$ cat writeup.md…
$ cat writeup.md…
cryptohack
Task: a Flask/PyJWT service authorises sessions by reading the alg field from the attacker-controlled JOSE header before verifying the token signature. Solution: forge a JWT with header alg=none, payload admin=true and an empty signature segment, hitting the none branch that disables verification to bypass authorization and read the flag.
Permission denied (requires tier.pro)
Sign in with GitHub, Discord, or Google to continue. No email required.
$sign in$ grep --similar