Moodle 3.10.x < 3.10.1 Multiple Vulnerabilities

high Web App Scanning Plugin ID 113633

Synopsis

Moodle 3.10.x < 3.10.1 Multiple Vulnerabilities

Description

The version of Moodle installed on the remote host is 3.5.x prior to 3.5.16, 3.8.x prior to 3.8.7, 3.9.x prior to 3.9.4 or 3.10.x prior to 3.10.1. It is, therefore, affected by multiple vulnerabilities:

- A client-side Denial of Service (DoS) attack due to the lack of character limit when sending messages. (CVE-2021-20185)

- A stored Cross-Site Scripting vulnerability due to the lack of sanitization of TeX content when the TeX notation filter is enabled. (CVE-2021-20186)

- An arbitrary PHP code execution by site administrators via a PHP include used during Shibboleth authentication. (CVE-2021-20187)

- An information disclosure in grade related web services, allowing students to view other students grades. (CVE-2021-20184)

- A Cross-Site Scripting (XSS) vulnerability due to the lack of input sanitization on the search template inputs. (CVE-2021-20183)

Note that the scanner has not attempted to exploit this issue but has instead relied only on application's self-reported version number.

Solution

Upgrade to version 3.10.1 or later.

See Also

https://moodle.org/mod/forum/discuss.php?d=417166#p1680837

https://moodle.org/mod/forum/discuss.php?d=417167#p1680839

https://moodle.org/mod/forum/discuss.php?d=417168#p1680841

https://moodle.org/mod/forum/discuss.php?d=417170#p1680845

https://moodle.org/mod/forum/discuss.php?d=417171#p1680847

Plugin Details

Severity: High

ID: 113633

Type: remote

Published: 2/20/2023

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2021-20187

CVSS v3

Risk Factor: High

Base Score: 7.2

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2021-20187

Vulnerability Information

CPE: cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 1/25/2021

Vulnerability Publication Date: 1/25/2021

Reference Information

CVE: CVE-2021-20183, CVE-2021-20184, CVE-2021-20185, CVE-2021-20186, CVE-2021-20187

CWE: 354, 400, 770, 79, 829, 94

OWASP: 2010-A1, 2010-A2, 2010-A6, 2013-A1, 2013-A3, 2013-A5, 2013-A9, 2017-A1, 2017-A6, 2017-A7, 2017-A9, 2021-A3, 2021-A6, 2021-A8

WASC: Application Misconfiguration, Cross-Site Scripting, Denial of Service, OS Commanding

CAPEC: 125, 130, 147, 175, 197, 201, 209, 228, 229, 230, 231, 242, 251, 252, 253, 263, 35, 469, 482, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 528, 549, 588, 591, 592, 63, 660, 77, 85

DISA STIG: APSC-DV-002400, APSC-DV-002490, APSC-DV-002510, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2)

ISO: 27001-A.12.6.1, 27001-A.14.2.5

NIST: sp800_53-CM-6b, sp800_53-SC-5, sp800_53-SI-10, sp800_53-SI-10(5)

OWASP API: 2019-API7, 2019-API8, 2023-API8

OWASP ASVS: 4.0.2-12.3.6, 4.0.2-14.2.1, 4.0.2-5.2.5, 4.0.2-5.3.3

PCI-DSS: 3.2-2.2, 3.2-6.2, 3.2-6.5.1, 3.2-6.5.7, 3.2-6.5.8