Skip to main content
← All vulnerabilities
CVE-2015-5267GHSA-382V-GXJ9-FFHC

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 functi

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.10, 2.8.8, 2.9.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • moodle/moodlePackagist

    fixed in 2.7.10

  • moodle/moodlePackagist

    From 2.8.0 · fixed in 2.8.8

  • moodle/moodlePackagist

    From 2.9.0 · fixed in 2.9.2

References 4

git.moodle.org

openwall.com

securitytracker.com

moodle.org