PT-2018-4733 · None · Jwt-Simple

Published

2018-05-31

·

Updated

2019-10-09

·

CVE-2016-10555

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions jwt-simple versions 0.3.0 and earlier
Description The issue allows a malicious user to choose the algorithm sent to the server, potentially bypassing authentication. If the server expects RSA but receives HMAC-SHA with RSA's public key, it may incorrectly interpret the public key as an HMAC private key, enabling the forging of any desired data. This behavior can be exploited to modify the contents of a JWT while still passing verification, resulting in a complete authentication bypass.
Recommendations Update to version 0.3.1 or later. Always specify an algorithm in calls to decode().

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2016-10555
GHSA-VGRX-W6RG-8FQF

Affected Products

Jwt-Simple