In-depth lesson · JWT flaws
Root causes
Every point the JWT flaws reports back under this heading, best-backed first, each with the reports it is seen in.
-
The integration flow trusted a JWT supplied in a link and did not require the user to confirm the specific JIRA project before changing the connection.
Seen in 1 report
-
The JWT signing secret was embedded in client-side JavaScript, so anyone could generate tokens rather than only a trusted server.
Seen in 1 report
-
Backend services did not correctly verify the JWT signature and mishandled the expiration date claim.
-
The reset flow issued and then trusted a victim-bound JWT and session cookie supplied by the client without tying the reset to the session that started it.
Seen in 1 report
-
The join key file was left empty, so the HMAC signing key defaulted to a fixed low-entropy value.
-
A low-entropy JWT signing secret was combined with missing rate limiting and missing per-account authorisation checks.