{"schemaVersion":3,"id":"CVE-2021-27913","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-08-30T15:55:21.646Z","modified":"2024-09-16T18:08:08.248Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.5,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00458,"percentile":0.38444,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00458},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00458,"percentile":0.38444}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00458,"percentile":0.38444}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MAUTIC_MAUTIC","name":"Mautic","source":"github","url":"https://github.com/mautic/mautic/releases/tag/2.12.0","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm","description":"The product uses a broken or risky cryptographic algorithm or protocol.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/338.html"}],"affected":[{"vendor":"acquia","product":"mautic","name":"mautic","label":"mautic","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.3.4","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:rc","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.4 | 4.0.0:alpha1 | 4.0.0:beta | 4.0.0:rc","eol":{"isEol":true,"eolDate":"2021-11-29T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"4.0","label":"4.0","eolFrom":"2021-11-29T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"4.0.2"},"product":{"name":"mautic","label":"Mautic","category":"server-app"}},"hubHref":"/vendor/acquia/mautic"},{"vendor":"mautic","product":"mautic","name":"mautic","label":"mautic","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 3.3.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, < 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 3.3.4 | ≥ unspecified, < 4.0.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"mautic","label":"Mautic","category":"server-app"}},"hubHref":"/vendor/mautic/mautic"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-x7g2-wrrp-r6h3","label":"github.com/mautic/mautic/security/advisories/GHSA-x7g2-wrrp-r6h3","hostname":"github.com","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-30T15:55:21.646Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T18:08:08.248Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:09:07.178Z","stale":false,"partial":false}}