This lab uses a JWT-based mechanism for handling sessions. It uses a robust RSA key pair to sign and verify tokens. However, due to implementation flaws, this mechanism is vulnerable to algorithm confusion attacks.
To solve the lab, first obtain the server's public key. This is exposed via a standard endpoint. Use this key to sign a modified session token that gives you 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
https://github.com/vXqw4NdusPm65jTw/WSA/blob/main/Lab:%20JWT%20authentication%20bypass%20via%20algorithm%20confusion
Download
0 formats
No download links available.
Lab: JWT authentication bypass via algorithm confusion | NatokHD