Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2015-5267

CVE-2015-5267: Exposure of Sensitive Information to an Unauthorized Actor

May 13, 2022 (updated January 26, 2024)

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.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50860
  • www.openwall.com/lists/oss-security/2015/09/21/1
  • github.com/advisories/GHSA-382v-gxj9-ffhc
  • github.com/moodle/moodle/commit/289bc7f9e3022918b4cfd2cc9851472f0cea2896
  • github.com/moodle/moodle/commit/5337b2295237958c93b6c65fa595859aaa7bf257
  • github.com/moodle/moodle/commit/6e8224365ffcdf328458ea7852dc62574e806119
  • github.com/moodle/moodle/commit/e4ac3879c2d1f8fe66caa74ff1544248bccef61e
  • moodle.org/mod/forum/discuss.php?d=320291
  • nvd.nist.gov/vuln/detail/CVE-2015-5267
  • web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619

Code Behaviors & Features

Detect and mitigate CVE-2015-5267 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.10, all versions starting from 2.8.0 before 2.8.8, all versions starting from 2.9.0 before 2.9.2

Fixed versions

  • 2.7.10
  • 2.8.8
  • 2.9.2

Solution

Upgrade to versions 2.7.10, 2.8.8, 2.9.2 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-254

Source file

packagist/moodle/moodle/CVE-2015-5267.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:31 +0000.