CVE-2021-23128 [20210302] - Core - Potential Insecure FOFEncryptRandval
Joomla core contained an insecure random value implementation in FOFEncryptRandval, potentially weakening cryptographic operations.
- 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-23128?
CVE-2021-23128 is a critical 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. The core shipped but unused randval implementation within FOF (FOFEncryptRandval) used an potential insecure implemetation. That has now been replaced with a call to 'random_bytes()' and its backport that is shipped within random_compat.
Which versions are affected by CVE-2021-23128?
1 open source package ship an affected version, including joomla. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joomla Bitnami | From 3.2.0 | 3.9.25 |
Products include Joomla Joomla\!.
How do I fix CVE-2021-23128?
Upgrade joomla to 3.9.25 or later.
Is CVE-2021-23128 being exploited?
There is no known exploitation of CVE-2021-23128 in the wild and no public exploit code.
Other vulnerabilities in Joomla Joomla\!
- CVE-2016-10033 PHPMailer Command Injection
- CVE-2023-23752 Joomla! Improper Access Control
- CVE-2026-48902 Joomla! Core - [20260518] - Transport encryption downgrade for password and username reset links
- CVE-2025-25226 [20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package
- CVE-2022-23795 [20220303] - Core - User row are not bound to a authentication mechanism
Sources
Also known as BIT-joomla-2021-23128, GHSA-7h2v-2fwm-pjjh.