CVE-2021-23126 [20210301] - Core - Insecure randomness within 2FA secret generation

Medium 5.3 Published Updated

Insecure randomness in Joomla's 2FA secret generation allows attackers to predict secrets and potentially take over user accounts.

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

What is CVE-2021-23126?

CVE-2021-23126 is a medium-severity vulnerability in Joomla Joomla\!, published on 4 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in Joomla! 3.2.0 through 3.9.24. Usage of the insecure rand() function within the process of generating the 2FA secret.

Weakness: CWE-338

Which versions are affected by CVE-2021-23126?

1 open source package ship an affected version, including joomla. It affects 1 product.

PackageAffectedFixed in
joomla BitnamiFrom 3.2.03.9.25

Products include Joomla Joomla\!.

How do I fix CVE-2021-23126?

Upgrade joomla to 3.9.25 or later.

Is CVE-2021-23126 being exploited?

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

All Joomla Joomla\! vulnerabilities

Sources

Also known as BIT-joomla-2021-23126, GHSA-429x-phj9-4788.

Is CVE-2021-23126 in your software?

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

Check your SBOMs for free