Hexret
CVE-2015-9235critical 9.8PoC available

JWT algorithm confusion: verifier trusts the token's alg header

A token verifier that takes the signature algorithm from the token header lets an attacker downgrade RS256 to HS256 and sign with the RSA public key as the HMAC secret, forging any token.

Product
jsonwebtoken (node-jsonwebtoken)
Vendor
Auth0
Affected
< 4.2.2
Fixed in
4.2.2
Weakness
CWE-347
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
29 May 2018

Practice this CVE, free

Classified as

References

Related CVEs