CVE-2021-24998 Simple JWT Login < 3.3.0 - Insecure Password Creation

High 7.5 Published Updated

Attackers can predict randomly generated passwords for new user accounts due to insecure random number generation, leading to potential account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-24998?

CVE-2021-24998 is a high-severity vulnerability in Unknown Simple JWT Login, published on 27 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-330

Which versions are affected by CVE-2021-24998?

It affects 1 product.

Products include Simple Jwt Login Project Simple Jwt Login.

How do I fix CVE-2021-24998?

No fix has been published for CVE-2021-24998 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-24998 being exploited?

There is no known exploitation of CVE-2021-24998 in the wild and no public exploit code.

Sources

Also known as GHSA-96g6-83p3-m784.

Is CVE-2021-24998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free