Exploiting JWT Algorithm Confusion Attack

Use when exploits JWT algorithm confusion vulnerabilities where the server's token verification library accepts the algorithm specified in the JWT header rather than enforcing a fixed algorithm. The tester manipulates the alg header to switch from RS256 to HS256 (using the RSA public key as the HMAC secret), sets alg to none to bypass signature verification, or exploits kid/jku/x5u header injection to supply attacker-controlled keys. Use when working with exploiting jwt algorithm confusion attack.

oyi77 117416d 4.6 KB Updated 10 repo stars

File contents

oyi77/1ai-skills/tree/main/cybersecurity/exploiting-jwt-algorithm-confusion-attack commit 117416d3fc

Frequently asked questions

npx skillmds add oyi77/exploiting-jwt-algorithm-confusion-attack