JWT Authentication Bypass via jwk Header Injection
👩🎓👨🎓 Learn about JSON Web Token (JWT) vulnerabilities. The server supports the jwk (JSON Web Key) parameter in the JWT header. This is sometimes used to embed the correct verification key directly in the token. However, it fails to check whether the provided key came from a trusted source. To solve the lab, we'll modify and sign a JWT that provides access to the admin panel, then delete the user carlos. Overview: 0:00 Intro 0:13 Recap 0:38 JWT header parameter injections 1:30 Injecting self-signed JWTs via the jwk parameter 2:17 Symmetric vs asymmetric algorithms 3:40 JWT Editor extension (burp) 4:26 Lab: JWT authentication bypass via jwk header injection 5:43 Solution #1: python 8:59 Solution #2: burp suite 10:34 Solution #3: jwt_tool 13:18 Conclusion If you're struggling with the concepts covered in this lab, please review the Introduction to JWT Attacks video first: • Introduction to JWT Attacks 🧠 For more information, check out https://portswigger.net/web-security/jwt 🔗 @PortSwiggerTV challenge: https://portswigger.net/web-security/... 🧑💻 Sign up and start hacking right now - https://go.intigriti.com/register 👾 Join our Discord - https://go.intigriti.com/discord 🎙️ This show is hosted by / _cryptocat ( @_CryptoCat ) & / intigriti 👕 Do you want some Intigriti Swag? Check out https://swag.intigriti.com 🐍 Python scripts demonstrated in this series can be found here: https://github.com/Crypto-Cat/CTF/tre...

JWT Authentication Bypass via jku Header Injection

JWT Authentication Bypass via Algorithm Confusion

JWT Explained: The Digital ID Card Behind Every Login

Most Devs Get API Authentication Wrong ?

This Tiny JWT Mistake = Massive Bug Bounty

Attacking JWT - Header Injections

Attacking AI - Jason Haddix - NDC Security 2026

I Made an Antivirus That Secretly Attacks Scammers

JWT authentication bypass via jwk header injection | PortSwigger Academy tutorial

JSON Web Tokens crash course - JWT tokens explained

Cracking JSON Web Tokens

JSON Web Keys (JWK & JWT) - "Emergency" - HackTheBox Business CTF

Attacking and Securing JWTs with Rana Khalil

How Hackers Bypass Two-Factor Authentication (2FA)?!

JWT Authentication Bypass via kid Header Path Traversal

7 Authentication Concepts Every Developer Should Know

JWT authentication bypass via algorithm confusion | PortSwigger Academy tutorial

JWT Authentication Bypass via Unverified Signature

