Firebase PHP-JWT < 6.0.0 - Algorithm Confusion

2022-11-11 00:00
Anonymous

Strategic Overview

Status
Patched in 2.1.1
Affected Version<= 2.1.0
CVSS9.1Critical
CVECVE-2021-46743
View all JWT Auth – WordPress JSON Web Token Authentication vulnerabilities

Vulnerability Overview

In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. This may or may not be exploitable in WordPress plugins and themes using the library.

Technical Analysis

REMEDIATION: Update to version 2.1.1, or a newer patched version --- IDENTIFIER: CWE-843 (Access of Resource Using Incompatible Type ('Type Confusion')) The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C