Moodle 3.9.x < 3.9.19 Multiple Vulnerabilities

high Web App Scanning Plugin ID 113585

Synopsis

Moodle 3.9.x < 3.9.19 Multiple Vulnerabilities

Description

The version of Moodle installed on the remote host is 3.9.x prior to 3.9.19, 3.11.x prior to 3.11.12, 4.0.x prior to 4.0.6 or 4.1.x prior to 4.1.1. It is, therefore, affected by multiple vulnerabilities:

- A Cross-Site Scripting (XSS) vulnerability due to the lack of sanitization of some returnurl parameters. (CVE-2023-23921)

- A Cross-Site Scripting (XSS) vulnerability due to the lack of sanitization in the blog search functionnality. (CVE-2023-23922)

- An Insecure Direct Object Reference (IDOR) vulnerability allowing users to set the preferred start page of any other user. (CVE-2023-23923)

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

See Also

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

https://moodle.org/mod/forum/discuss.php?d=443273#p1782022

https://moodle.org/mod/forum/discuss.php?d=443274#p1782023

Plugin Details

Severity: High

ID: 113585

Type: remote

Published: 2/20/2023

Updated: 3/14/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: High

Base Score: 8.5

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

CVSS Score Source: CVE-2023-23923

CVSS v3

Risk Factor: High

Base Score: 8.2

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

CVSS Score Source: CVE-2023-23923

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/24/2023

Vulnerability Publication Date: 1/24/2023

Reference Information

CVE: CVE-2023-23921, CVE-2023-23922, CVE-2023-23923