Vulnerability Name:

CVE-2020-25701 (CCN-192043)

Assigned:2019-11-16
Published:2019-11-16
Updated:2020-12-01
Summary:If the upload course tool in Moodle was used to delete an enrollment method which did not exist or was not already enabled, the tool would erroneously enable that enrollment method. This could lead to unintended users gaining access to the 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:5.3 Medium (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 (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
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: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
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-863
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2020-25701

Source: MISC
Type: Issue Tracking, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1895432

Source: XF
Type: UNKNOWN
moodle-cve202025701-sec-bypass(192043)

Source: FEDORA
Type: Third Party Advisory
FEDORA-2020-db73e37548

Source: FEDORA
Type: Third Party Advisory
FEDORA-2020-304aa2c365

Source: CCN
Type: Moodle Security Advisory MSA-20-0019
tool_uploadcourse creates new enrol instances unexpectedly in some circumstances

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

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

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

  • 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