Moodle < 3.9.15 / 3.11.x < 3.11.8 / 4.0.x < 4.0.2 LTI Module Cross-Site-Scripting

medium Web App Scanning Plugin ID 113829

Synopsis

Moodle < 3.9.15 / 3.11.x < 3.11.8 / 4.0.x < 4.0.2 LTI Module Cross-Site-Scripting

Description

Moodle is a free and open-source learning management system written in PHP. Moodle versions before 3.9.15, 3.11.x before 3.11.8 and 4.0.x before 4.0.2 suffer from a Cross-Site Scripting (XSS) vulnerability through the LTI module which only affects unauthenticated users. By crafting a specific HTTP request, an attacker could leverage this vulnerability to execute malicious JavaScript in the context of unauthenticated users browsers.

Solution

Upgrade to Moodle version 3.9.15, 3.11.8, 4.0.2 or later.

See Also

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72299

https://moodle.org/mod/forum/discuss.php?d=436460

Plugin Details

Severity: Medium

ID: 113829

Type: remote

Published: 3/28/2023

Updated: 3/28/2023

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.6

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

CVSS Score Source: CVE-2022-35653

CVSS v3

Risk Factor: Medium

Base Score: 6.1

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

CVSS Score Source: CVE-2022-35653

Vulnerability Information

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

Exploit Ease: Exploits are available

Patch Publication Date: 7/22/2023

Vulnerability Publication Date: 7/22/2022

Reference Information

CVE: CVE-2022-35653