CVE Catalog

CVE-2015-5267

High
Published: Translated: NVD NIST

Summary

In Moodle through version 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, the random_string and complex_random_string functions rely on the PHP mt_rand function, making it easier for remote attackers to predict password-recovery tokens via a brute-force approach.

Risk Assessment

Attackers can exploit this vulnerability to predict password-recovery tokens, potentially leading to unauthorized access to user accounts.

Recommendation

It is recommended to update Moodle to the latest version to eliminate this vulnerability and consider using more secure methods for generating random tokens.

Other vulnerabilities in Moodle

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS