{"id":"BIT-joomla-2021-23126","summary":"[20210301] - Core - Insecure randomness within 2FA secret generation","details":"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.","aliases":["CVE-2021-23126"],"modified":"2026-09-08T08:48:01.943320289Z","published":"2025-04-03T14:12:11.991Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:joomla:joomla!:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://developer.joomla.org/security-centre/841-20210301-core-insecure-randomness-within-2fa-secret-generation.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23126"}],"affected":[{"package":{"name":"joomla","ecosystem":"Bitnami","purl":"pkg:bitnami/joomla"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"fixed":"3.9.25"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/joomla/BIT-joomla-2021-23126.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}],"schema_version":"1.9.0"}