Back to Browse

Lab: JWT authentication bypass via algorithm confusion with no exposed key

318 views
Jun 18, 2022
25:21

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. 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%20with%20no%20exposed%20key

Download

0 formats

No download links available.

Lab: JWT authentication bypass via algorithm confusion with no exposed key | NatokHD