Moodle 3.9.x < 3.9.18 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 113589

Synopsis

Moodle 3.9.x < 3.9.18 Multiple Vulnerabilities

Description

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

- An information disclosure due to a user CSRF token being unnecessarily included in the URL during the redirection to a course which has been just restored. (CVE-2022-45149)

- A Cross-Site Scripting (XSS) vulnerability due to the lack of sanitization of the return URL in the policy tool. (CVE-2022-45150)

- A stored Cross-Site Scripting (XSS) vulnerability due to the lack of sanitization of the 'social' user profile field type. (CVE-2022-45151)

- A blind Server-Side Request Forgery (SSRF) vulnerability due to the LTI provider library not using Moodle inbuilt cURL helper. (CVE-2022-45152)

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

See Also

https://moodle.org/mod/forum/discuss.php?d=440769#p1773537

https://moodle.org/mod/forum/discuss.php?d=440770#p1773538

https://moodle.org/mod/forum/discuss.php?d=440772#p1773540

https://moodle.org/mod/forum/discuss.php?d=443272#p1782021

Plugin Details

Severity: Critical

ID: 113589

Type: remote

Published: 2/20/2023

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: High

Base Score: 9.4

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

CVSS Score Source: CVE-2022-45152

CVSS v3

Risk Factor: Critical

Base Score: 9.1

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

CVSS Score Source: CVE-2022-45152

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/21/2022

Vulnerability Publication Date: 11/21/2022

Reference Information

CVE: CVE-2022-45149, CVE-2022-45150, CVE-2022-45151, CVE-2022-45152