GajIPS - IPS Signature Update — GS EXPLOIT: JWT alg:none authentication bypass attempt
Severity: MEDIUM · Priority: P3 — technique tripwire, tune before relying on
This rule raises an alert when a web request carries a JSON Web Token (JWT) whose header declares that it has no signature. JWTs are digital tokens many applications use to prove a user is logged in; a properly issued one is cryptographically signed so it can't be forged. A token marked with the "none" algorithm claims to need no signature — a long-known trick where an attacker strips the signature and edits the token's contents (for example, changing their role to administrator) in the hope that a poorly configured server accepts it as genuine. This rule watches for that tell-tale "none" marker in incoming tokens, covering several ways it can be spelled.
A hit means something sent a token that asks to skip signature checking. On most systems that is abnormal and worth investigating, but it is not by itself proof of a successful break-in — it flags an attempt or a misconfiguration, and whether it works depends entirely on how the receiving application validates tokens. A correctly configured, patched application rejects these tokens outright. Treat an alert as a prompt to check which application received the token and whether it is hardened against this technique.