{"id":"CVE-2015-5267","aliases":[],"url":"https://o3.security/vulnerability/CVE-2015-5267","summary":"Moodle uses predictable password-recovery tokens","details":"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.","published":"2022-05-13T01:12:47Z","modified":"2024-02-16T08:24:40.882902Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.7.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.8.8"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.9.2"}],"fix":{"url":"https://github.com/moodle/moodle/commit/289bc7f9e3022918b4cfd2cc9851472f0cea2896","label":"moodle/moodle@289bc7f"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5267"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/289bc7f9e3022918b4cfd2cc9851472f0cea2896"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5337b2295237958c93b6c65fa595859aaa7bf257"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/6e8224365ffcdf328458ea7852dc62574e806119"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/e4ac3879c2d1f8fe66caa74ff1544248bccef61e"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=320291"},{"type":"WEB","url":"https://web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/09/21/1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-02-16T08:24:40.882902Z"}}