CVE-2015-5267

Published Feb 22, 2016 CVSS 3.0 · 7.5 High EPSS 2.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 6:41 AM
Reserved
Jul 1, 2015, 12:00 AM
Status
Modified
Published
Feb 22, 2016, 5:59 AM
Modified
Jun 17, 2026, 12:28 AM