~/talk

The Hacker’s Guide to JWT Security

Talkat jPrime 2024 · 2024-05-28..05-29· [security]
links:none on file
slides:none on file

Live demos show concrete exploits: creating a non-alg JWT bypass because the app uses io.jsonwebtoken parse instead of parseClaimsJws (v0.9.1 vulnerable, fixed in 0.12 Oct 2023); offline cracking of an HS256 secret with hashcat on four Tesla GPUs (~4 billion hashes/sec) to forge tokens; TCP dump of unencrypted internal traffic to grab valid tokens; and XSS that posts sessionStorage tokens via an image src to an attacker server. Recommendations: strong keys, short access lifetimes with refresh tokens, encrypted every internal leg, and server-side token revocation.

AI-written summary · about

  1. 0:00Introduction to JWT security
  2. 7:40Non algorithm vulnerability
  3. 18:10Key selection and cryptography
  4. 24:09Token cracking with Hashcat
  5. 33:35Sniffing unencrypted traffic
  6. 37:19XSS token theft demo
  7. 43:53Session management challenges
  8. 47:19Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.