PT-2022-5149 · Moodle+2 · Moodle+2

Leandro Inacio

+3

·

Published

2021-07-13

·

Updated

2024-03-06

·

CVE-2021-36568

CVSS v2.0

5.5

Medium

VectorAV:N/AC:L/Au:S/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Moodle versions 3.9.7 through 3.11.10 Moodle versions 3.10.4
Description The issue is related to the lack of protection for the web page structure in Moodle, allowing a remote attacker to conduct a cross-site scripting (XSS) attack. Specifically, in certain Moodle products, after creating a course, it is possible to add a resource to an arbitrary "Topic", in this case, a "Database" with the type "Text", where the Field name and Field description values are vulnerable to stored XSS.
Recommendations For Moodle versions 3.9.7, update to a version later than 3.9.7. For Moodle versions 3.10.4, update to a version later than 3.10.4. For Moodle versions 3.11.x prior to 3.11.10, update to version 3.11.10 or later. As a temporary workaround, consider restricting access to the "Database" resource with the type "Text" in arbitrary "Topics" until a patch is available. Avoid using the Field name and Field description values in the affected "Database" resource until the issue is resolved.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-2215
BDU:2022-06406
BIT-MOODLE-2021-36568
CVE-2021-36568
GHSA-FM6M-FG23-67JQ

Affected Products

Alt Linux
Moodle
Red Os