CVE-2015-5267
Summary
| CVE | CVE-2015-5267 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-02-22 05:59:07 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 7.5 HIGH from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-200 | CWE-254 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:L/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Moodle | Moodle | 2.7.0 | All | All | All |
| Application | Moodle | Moodle | 2.7.1 | All | All | All |
| Application | Moodle | Moodle | 2.7.2 | All | All | All |
| Application | Moodle | Moodle | 2.7.3 | All | All | All |
| Application | Moodle | Moodle | 2.7.4 | All | All | All |
| Application | Moodle | Moodle | 2.7.5 | All | All | All |
| Application | Moodle | Moodle | 2.7.6 | All | All | All |
| Application | Moodle | Moodle | 2.7.7 | All | All | All |
| Application | Moodle | Moodle | 2.7.8 | All | All | All |
| Application | Moodle | Moodle | 2.7.9 | All | All | All |
| Application | Moodle | Moodle | 2.8.0 | All | All | All |
| Application | Moodle | Moodle | 2.8.1 | All | All | All |
| Application | Moodle | Moodle | 2.8.2 | All | All | All |
| Application | Moodle | Moodle | 2.8.3 | All | All | All |
| Application | Moodle | Moodle | 2.8.4 | All | All | All |
| Application | Moodle | Moodle | 2.8.5 | All | All | All |
| Application | Moodle | Moodle | 2.8.6 | All | All | All |
| Application | Moodle | Moodle | 2.8.7 | All | All | All |
| Application | Moodle | Moodle | 2.9.0 | All | All | All |
| Application | Moodle | Moodle | 2.9.1 | All | All | All |
| Application | Moodle | Moodle | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Moodle Multiple Flaws Let Remote Users Guess Password Recovery Tokens and Remote Authenticated Users Access Data, Delete Files, and Conduct Cross-Site Scripting Attacks - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| Moodle.org: MSA-15-0034: Vulnerability in password recovery mechanism | af854a3a-2127-422b-91ae-364da2661108 | moodle.org | Vendor Advisory |
| Official Moodle git projects - moodle.git/search | af854a3a-2127-422b-91ae-364da2661108 | git.moodle.org | |
| oss-security - Moodle security release | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.