You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
This library has security issues with algorithm confusion.
If the developer allows both the HS algorithm and the RS algorithm, the attacker can use the RSA public key and encrypt the JWT using the HMAC algorithm to bypass the verification.
Hello!
This library has security issues with algorithm confusion.
If the developer allows both the HS algorithm and the RS algorithm, the attacker can use the RSA public key and encrypt the JWT using the HMAC algorithm to bypass the verification.
poc
Likewise, if the developer allows the None algorithm, then it makes no sense to allow other algorithms.
For details, please refer to the following article: https://portswigger.net/web-security/jwt/algorithm-confusion
How to fix: Refer to https://github.com/Thalhammer/jwt-cpp and limit each key to one algorithm.
Thank you!
The text was updated successfully, but these errors were encountered: