~/talk

Attacking and Defending JWT Tokens: The Ultimate Guide

links:none on file
slides:none on file

Explains JWT structure (header.payload.signature), shows a real samokat.ru case where a predictable HMAC secret "secret" lets an attacker resign tokens and achieve full account takeover, and demonstrates a simple Python script that flips an admin claim and re-signs a token. Covers common failures: alg confusion / "none" attacks, jku/x5u leading to SSRF, missing claim validation, and gives concrete fixes: whitelist JWKS URLs, validate alg and claims, rotate keys, use KMS and monitor.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Historical context
  3. 2:00JWT fundamentals
  4. 4:24Token architecture
  5. 8:26Signature significance
  6. 17:35Terminology and standards
  7. 23:42Industry statistics
  8. 25:42Exploitation scenario
  9. 27:36Attack vectors
  10. 33:03Defensive strategies
  11. 35:04Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.