{"id":"CVE-2021-23126","aliases":["BIT-joomla-2021-23126","EUVD-2021-10244","GHSA-429x-phj9-4788"],"status":"published","title":"[20210301] - Core - Insecure randomness within 2FA secret generation","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.0111,"percentile":0.66392,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-326","CWE-338"],"published":"2021-03-04T17:37:14Z","modified":"2026-10-24T10:30:58Z","fixes":[{"ecosystem":"Bitnami","package":"joomla","fixed_in":["3.9.25"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"joomla","ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"fixed":"3.9.25"}]}]}],"products":[{"vendor":"joomla","product":"joomla\\!"},{"vendor":"joomla! project","product":"joomla! cms"}],"references":[{"url":"https://developer.joomla.org/security-centre/841-20210301-core-insecure-randomness-within-2fa-secret-generation.html","tags":["x_refsource_MISC","vendor-advisory","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23126","tags":["web"]},{"url":"https://github.com/advisories/GHSA-429x-phj9-4788"}],"sources":{"cve":[{"id":"CVE-2021-23126","title":"[20210301] - Core - Insecure randomness within 2FA secret generation","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.","status":"published","published":"2021-03-04T17:37:14.262Z","modified":"2026-02-25T05:04:24.646Z","updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-10244","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.","status":"published","published":"2021-03-04T17:37:14Z","modified":"2026-02-25T05:04:24Z","updated_at":"2026-11-02T19:48:29.551855Z"}],"ghsa":[{"id":"GHSA-429x-phj9-4788","title":"An issue was discovered in Joomla! 3.2.0 through 3.9.24. Usage of the insecure rand() function...","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.","status":"published","published":"2022-05-24T17:43:39Z","modified":"2023-08-08T15:31:17Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-326"],"updated_at":"2026-11-02T14:54:44.111289Z"}],"nvd":[{"id":"CVE-2021-23126","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.","status":"published","published":"2021-03-04T18:15:13.207Z","modified":"2026-06-17T03:38:18.703Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"CVE-2021-23126","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.","status":"published","published":"2021-03-04T18:15:13.207Z","modified":"2026-10-24T10:30:58.722000461Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"BIT-joomla-2021-23126","title":"[20210301] - Core - Insecure randomness within 2FA secret generation","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.","status":"published","published":"2025-04-03T14:12:11.991Z","modified":"2026-09-08T08:48:01.943320289Z","updated_at":"2026-11-02T15:28:31.782692Z"}]}}
