CVEvulnerability
CVE-2015-5267
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2016-02-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-200, CWE-254
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.
Affected configurations
• moodle moodle (<= 2.6.11)
• moodle moodle 2.7.0
• moodle moodle 2.7.1
• moodle moodle 2.7.2
• moodle moodle 2.7.3
• moodle moodle 2.7.4
• moodle moodle 2.7.5
• moodle moodle 2.7.6
• moodle moodle 2.7.7
• moodle moodle 2.7.8
• moodle moodle 2.7.9
• moodle moodle 2.8.0
• moodle moodle 2.8.1
• moodle moodle 2.8.2
• moodle moodle 2.8.3
• moodle moodle 2.8.4
• moodle moodle 2.8.5
• moodle moodle 2.8.6
• moodle moodle 2.8.7
• moodle moodle 2.9.0
• moodle moodle 2.9.1
Related
Weakness · not in database (1)
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860 git.moodle.org
- http://www.openwall.com/lists/oss-security/2015/09/21/1 www.openwall.com
- http://www.securitytracker.com/id/1033619 www.securitytracker.com
- https://moodle.org/mod/forum/discuss.php?d=320291 Vendor Advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860 git.moodle.org
- http://www.openwall.com/lists/oss-security/2015/09/21/1 www.openwall.com
- http://www.securitytracker.com/id/1033619 www.securitytracker.com
- https://moodle.org/mod/forum/discuss.php?d=320291 Vendor Advisory