CVE-2021-24998

Simple JWT Login <= 3.2.1 - Insecure Password Creation

2021-10-13 00:00
Zian Choy

Strategic Overview

Status
Patched in 3.3.0
Affected Version
< 3.3.0
CVSS
7.5High
Weakness type
CWE-326 · Inadequate Encryption Strength
CVE
CVE-2021-24998
View all Simple JWT Login – Allows you to use JWT on REST endpoints. vulnerabilities

At a glance

CVE-2021-24998 is a high-severity Inadequate Encryption Strength vulnerability in the Simple JWT Login WordPress plugin, affecting versions < 3.3.0. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high integrity impact). Exploitation requires no authentication. The issue is fixed in version 3.3.0; sites on affected versions should update now. Disclosed October 2021, reported by Zian Choy.

Vulnerability Overview

The Simple JWT Login WordPress plugin before 3.3.0 can be used to create new WordPress user accounts with a randomly generated password. The password is generated using the str_shuffle PHP function that "does not generate cryptographically secure values, and should not be used for cryptographic purposes" according to PHP's documentation.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on integrity.

CWE-326: Inadequate Encryption Strength

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

Remediation

Update to version 3.3.0, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: Simple JWT Login 3.3.0 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

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