Skip to content
Alnoman Kamil edited this page Oct 15, 2024 · 65 revisions

Apprentice lab:
JWT authentication bypass via unverified signature

This lab uses a JWT-based mechanism for handling sessions. Due to implementation flaws, the server doesn't verify the signature of any JWTs that it receives.
To solve the lab, modify your session token to gain access to the admin panel at /admin, then delete the user carlos.
You can log in to your own account using the following credentials: wiener:peter

  • Solution

Caution

JWT uses Base64url, which is slightly different from Base64.

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
Clone this wiki locally