Vulnerability Name:

CVE-2021-36568 (CCN-236646)

Assigned:2021-07-12
Published:2022-09-10
Updated:2022-09-30
Summary:In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.
CVSS v3 Severity:5.4 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
5.4 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:H/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2021-36568

Source: CCN
Type: Hacking Force Blog, Sep 10, 2022
CVE-2021-36568

Source: MISC
Type: Exploit, Third Party Advisory
https://blog.hackingforce.com.br/en/cve-2021-36568/

Source: MISC
Type: Broken Link, Third Party Advisory
https://drive.google.com/drive/folders/1_fO4BKpmD3avGYHSzvIXWs5owqVYgB1s?usp=sharing

Source: XF
Type: UNKNOWN
moodle-cve202136568-xss(236646)

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-50c091d963

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-1c77803b43

Source: CCN
Type: moodle Web site
Open-source learning platform

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:3.10.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.9.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.11.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.10.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.9.7:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    moodle moodle 3.10.4
    moodle moodle 3.9.7
    moodle moodle 3.11.0
    fedoraproject fedora 35
    fedoraproject fedora 36
    moodle moodle 3.10.4
    moodle moodle 3.9.7