06:00 UTC Charta Aetatis Cyberpunk

Console For you Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 120d · 5 min read

3 Ways JWTs Get Forged, and the One Rule That Stops Them All

JSON Web Tokens are the default bearer credential of the modern web. They sit in your Authorization header, in cookies, in the calls your services make to each other. And most of the time they work quietly, which is exactly the problem. A JWT that is signed with the secret secret looks identical to one signed with a 256 bit random key, right up until someone runs a wordlist against it and starts minting admin tokens. I spend a lot of time looking at tokens, so let me walk through the three ways I actually try to forge one, why each works, and the single defensive habit that closes all three at once. I will use a small tool I built, jwt-auditor, to show each attack against a real token

…

In this story
CVE-2015-9235Not on CISA's exploited list
Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks