Vulnerability Name:

CVE-2015-5266 (CCN-106553)

Assigned:2015-09-21
Published:2015-09-21
Updated:2020-12-01
Summary: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.
CVSS v3 Severity:6.8 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N)
5.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.9 Medium (CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2015-5266

Source: CONFIRM
Type: UNKNOWN
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50744

Source: MLIST
Type: UNKNOWN
[oss-security] 20150921 Moodle security release

Source: SECTRACK
Type: UNKNOWN
1033619

Source: XF
Type: UNKNOWN
moodle-cve20155266-weak-security(106553)

Source: CONFIRM
Type: Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=320290

Source: CCN
Type: Moodle Security Advisory MSA-15-0033
Meta course synchronisation enrols suspended students as managers for a short period of time

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2015-5266

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version <= 2.6.11)
  • OR cpe:/a:moodle:moodle:2.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.5:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.9:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201552660000000
    V
    CVE-2015-5266 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-02-22
    oval:com.ubuntu.artful:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 17.10 (artful) - medium.
    2016-02-22
    oval:com.ubuntu.trusty:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-02-22
    oval:com.ubuntu.xenial:def:201552660000000
    V
    CVE-2015-5266 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-02-22
    oval:com.ubuntu.bionic:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-02-22
    oval:com.ubuntu.xenial:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-02-22
    oval:com.ubuntu.disco:def:201552660000000
    V
    CVE-2015-5266 on Ubuntu 19.04 (disco) - medium.
    2016-02-22
    oval:com.ubuntu.cosmic:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 18.10 (cosmic) - medium.
    2016-02-22
    oval:com.ubuntu.cosmic:def:201552660000000
    V
    CVE-2015-5266 on Ubuntu 18.10 (cosmic) - medium.
    2016-02-22
    oval:com.ubuntu.precise:def:20155266000
    V
    CVE-2015-5266 on Ubuntu 12.04 LTS (precise) - medium.
    2016-02-22
    BACK
    moodle moodle 2.9.1
    moodle moodle 2.8.2
    moodle moodle 2.8.1
    moodle moodle 2.7.4
    moodle moodle 2.7.3
    moodle moodle 2.8.6
    moodle moodle 2.8.5
    moodle moodle 2.7.8
    moodle moodle 2.7.7
    moodle moodle 2.7.0
    moodle moodle *
    moodle moodle 2.9.0
    moodle moodle 2.8.7
    moodle moodle 2.8.0
    moodle moodle 2.7.9
    moodle moodle 2.7.2
    moodle moodle 2.7.1
    moodle moodle 2.8.4
    moodle moodle 2.8.3
    moodle moodle 2.7.6
    moodle moodle 2.7.5
    moodle moodle 2.9.1
    moodle moodle 2.8.7
    moodle moodle 2.7.9