CVE-2015-5267 json
Moodle uses predictable password-recovery tokens
published 2016-02-22 10 y ago modified 2026-06-17 4 mo ago also GHSA-382v-gxj9-ffhc , EUVD-2022-2128
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist moodle/moodle 2.7.10, 2.8.8, 2.9.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-5267 updated cvss 6.5
moodle: Multiple security issues (MSA-15-0030, MSA-15-0031, MSA-15-0032, MSA-15-0033, MSA-15-0034, MSA-15-0035, MSA-15-0036)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.37% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <2.7.10 >=2.8.0, <2.8.8 >=2.9.0, <2.9.2 |
2.7.10 2.8.8 2.9.2 |
Classification
References
-
github.com
/moodle/moodle/commit/289bc7f9e3022918b4cfd2cc9851472f0cea2896
web
-
github.com
/moodle/moodle/commit/5337b2295237958c93b6c65fa595859aaa7bf257
web
-
github.com
/moodle/moodle/commit/6e8224365ffcdf328458ea7852dc62574e806119
web
-
github.com
/moodle/moodle/commit/e4ac3879c2d1f8fe66caa74ff1544248bccef61e
web
-
moodle.org
/mod/forum/discuss.php?d=320291
web, vendor-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860
web
-
openwall.com
/lists/oss-security/2015/09/21/1
mailing-list, web
-
securitytracker.com
/id/1033619
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2015-5267
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20160323063809/http://www.securitytracker.com/id/1033619
web
Sources
- CVE List CVE-2015-5267
- GitHub Advisory GHSA-382v-gxj9-ffhc
- NVD CVE-2015-5267
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.