CVE-2021-23126

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

MEDIUM
5.3
CVSS Score
Published: March 4, 2021 at 05:37 PM UTC
Updated: June 17, 2026 at 03:38 AM UTC
1 product affected across 1 vendorJoomla!

Using Joomla! CMS by Joomla! Project?

Get instant alerts when new vulnerabilities affect Joomla! CMS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.2.0 ≤ v < 3.9.253.2.0-3.9.24
Affected range stops below 3.9.25, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-338

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card