Description
lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.
Published: 2016-02-22
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-2128 lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.
Github GHSA Github GHSA GHSA-382v-gxj9-ffhc Moodle uses predictable password-recovery tokens
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T06:41:09.237Z

Reserved: 2015-07-01T00:00:00.000Z

Link: CVE-2015-5267

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2016-02-22T05:59:07.300

Modified: 2025-04-12T10:46:40.837

Link: CVE-2015-5267

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses