Change the algorithm RS256(asymmetric) to HS256(symmetric) - POC (CVE-2016-10555)# Change the algorithm RS256(asymmetric) to HS256(symmetric) - POC (CVE-2016-10555)
The algorithm HS256 uses the secret key to sign and verify each message.
The algorithm RS256 uses the private key to sign the message and uses the public key for authentication.
If you change the algorithm from RS256 to HS256, the back end code uses the public key as the secret key and then uses the HS256 algorithm to verify the signature.
Regards:
https://www.youtube.com/c/FarahHawa
[4.0K] /data/pocs/df230e2b3a73beb05b865f8719ffaa2756fa3cbd
├── [ 773] jwt-hs256-with-publickey.py
├── [ 800] public_key.pem
└── [ 475] README.md
0 directories, 3 files