All vulnerabilities

Servers and applications

CVE-2015-5266

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.

Severity
Medium 6.8
Published
22 Feb 2016
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.6% in the next 30 daysHigher than 75% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
CWE-264
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Version 2.9.1
  • Version 2.9.0
  • Version 2.8.7
  • Version 2.8.6
All 21 release lines
  • Every version up to 2.6.11
  • Version 2.7.0
  • Version 2.7.1
  • Version 2.7.2
  • Version 2.7.3
  • Version 2.7.4
  • Version 2.7.5
  • Version 2.7.6
  • Version 2.7.7
  • Version 2.7.8
  • Version 2.7.9
  • Version 2.8.0
  • Version 2.8.1
  • Version 2.8.2
  • Version 2.8.3
  • Version 2.8.4
  • Version 2.8.5
  • Version 2.8.6
  • Version 2.8.7
  • Version 2.9.0
  • Version 2.9.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2015-5266
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2015-5266