Vulnerability Name:

CVE-2020-25699 (CCN-192052)

Assigned:2019-11-16
Published:2019-11-16
Updated:2022-11-07
Summary:In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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): High
Availibility (A): None
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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): High
Availibility (A): None
CVSS v2 Severity:5.0 Medium (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
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-863
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2020-25699

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1895425

Source: XF
Type: UNKNOWN
moodle-cve202025699-priv-esc(192052)

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2020-db73e37548

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2020-304aa2c365

Source: CCN
Type: Moodle Security Advisory MSA-20-0017
Privilege escalation within a course when restoring role overrides

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

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-25699

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.9.0 and <= 3.9.2)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.8.0 and <= 3.8.5)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.7.0 and <= 3.7.8)
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version >= 3.5.0 and <= 3.5.14)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.9.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    moodle moodle *
    moodle moodle *
    moodle moodle *
    moodle moodle *
    fedoraproject fedora 32
    fedoraproject fedora 33
    moodle moodle 3.9.2
    moodle moodle 3.9.0