{"id":"CVE-2021-27913","published":"2021-08-30T15:55:21Z","modified":"2024-09-16T18:08:08Z","title":"Use of a Broken or Risky Cryptographic Algorithm","vendor":"Mautic","product":"Mautic","tier":"tail","description":{"text":"The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature being one pseudorandomness, an attacker can take advantage of the cryptographically insecure nature of this function to enumerate session tokens for accounts that are not under his/her control This issue affects: Mautic Mautic versions prior to 3.3.4; versions prior to 4.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00458,"percentile":0.40625,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-x7g2-wrrp-r6h3","tags":["x_refsource_MISC"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":8.12},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"mautic","affectedVersions":[{"vendor":"Mautic","product":"Mautic","versions":[">= unspecified, < 3.3.4",">= unspecified, < 4.0.0"]}],"affected":[{"ecosystem":"Packagist","package":"mautic/core","vulnerableRanges":["<3.3.4",">=4.0.0-alpha1, <4.0.0"],"patched":["3.3.4","4.0.0"],"from":["GHSA-x7g2-wrrp-r6h3"],"provenance":"source"}],"summary":{"text":"The Mautic marketing automation platform uses the mt_rand function to generate session tokens, which is a pseudorandom generator unsuitable for cryptographic purposes. An attacker with network access and low privileges can exploit this weakness, with the victim needing to interact with the target, to predict session tokens and enumerate sessions for accounts they do not control.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:41Z"},"euvd":{"id":"EUVD-2021-2132","exploited":false,"provenance":"source"}}