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

CVE-2015-5266: Moodle allows attackers to obtain manager privileges

May 13, 2022 (updated January 26, 2024)

The enrol_meta_sync function in enrol/meta/locallib.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 allows remote authenticated users to obtain manager privileges in opportunistic circumstances by leveraging incorrect role processing during a long-running sync script.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50744
  • www.openwall.com/lists/oss-security/2015/09/21/1
  • github.com/advisories/GHSA-454r-4cjv-vc9h
  • github.com/moodle/moodle/commit/936facab28d8d8bd03f38da42cb80fafba1a06db
  • github.com/moodle/moodle/commit/ab006d43e48add8e5495141d4d750c1531772ca2
  • github.com/moodle/moodle/commit/dff6cdc88355f22ebaaf8f00c44a1ad51d272344
  • github.com/moodle/moodle/commit/f7fbc80766b72ed1c9915698edd443ee8f6eafbd
  • moodle.org/mod/forum/discuss.php?d=320290
  • nvd.nist.gov/vuln/detail/CVE-2015-5266
  • web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619

Code Behaviors & Features

Detect and mitigate CVE-2015-5266 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 starting from 2.7.0 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 6.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-264

Source file

packagist/moodle/moodle/CVE-2015-5266.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:25 +0000.