CVE-2015-5267: Moodle
High severity, CVSS 7.5. EPSS: 2.4% chance of exploitation in the next 30 days.
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.
Affected products
- Moodle Moodle: up to and including 2.6.11; version 2.7.0 only; version 2.7.1 only; version 2.7.2 only; version 2.7.3 only; version 2.7.4 only; …
Published 2016-02-22. Last modified 2026-06-17.