Moodle 4.0.x < 4.0.3 Multiple Vulnerabilities

high Web App Scanning Plugin ID 113599

Synopsis

Moodle 4.0.x < 4.0.3 Multiple Vulnerabilities

Description

The version of Moodle installed on the remote host is 3.9.x prior to 3.9.16, 3.11.x prior to 3.11.9 or 4.0.x prior to 4.0.3. It is, therefore, affected by multiple vulnerabilities:

- A vulnerable version of the Mustache template library included in Moodle. (CVE-2022-0323)

- A Cross-Site Request Forgery (CSRF) vulnerability due to the lack of token check when enabling and disabled installed H5P libraries. (CVE-2022-2986)

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 4.0.3 or later.

See Also

https://moodle.org/mod/forum/discuss.php?d=437684#p1761481

https://moodle.org/mod/forum/discuss.php?d=437685#p1761482

Plugin Details

Severity: High

ID: 113599

Type: remote

Published: 2/20/2023

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: CVE-2022-2986

CVSS v3

Risk Factor: High

Base Score: 8.8

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

CVSS Score Source: CVE-2022-0323

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/29/2022

Vulnerability Publication Date: 8/29/2022

Reference Information

CVE: CVE-2022-0323, CVE-2022-2986