In-depth lesson · JWT flaws
Year by year: 2020
What the disclosed JWT flaws reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2020
6 pointsNew this year1
Chaining several weaknesses, such as blind XSS, a CSP bypass, missing rate limiting and an exposed JWT generation endpoint, to reach account takeover first appears clearly in the disclosed reports.
Seen in 1 report
Kept working4
Changing the user identifier claim inside a JWT and checking whether the backend honoured it exposed IDOR through the token in the disclosed reports.
Seen in 1 report
An exposed endpoint that minted JWTs could be called to obtain a token for another user in the disclosed reports.
Seen in 1 report
Stripping or altering the JWT signature and finding the backend still accepted the token worked in the disclosed reports.
Seen in 1 report
Password reset and email verification flows accepted a JWT whose claims had been altered to target another account in the disclosed reports.
Seen in 1 report
Turned up less1
The earlier pattern of client-side single sign-on token generation with a hardcoded secret is not repeated in the 2020 evidence, which instead centres on claim swapping and exposed minting endpoints.
Seen in 1 report