#VU18018 Stored cross-site scripting in Moodle


Published: 2020-03-18

Vulnerability identifier: #VU18018

Vulnerability risk: Medium

CVSSv3.1: 4.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-3847

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Moodle
Web applications / Other software

Vendor: moodle.org

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in user's Dashboard. A remote authenticated attacker can permanently inject JavaScript into Dashboard and execute it victim's browser in context of vulnerable website, when a privileged user with "login as other users" capability view compromised Dashboard on attackers behalf.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Moodle: 3.6.0 - 3.6.2, 3.5.0 - 3.5.4, 3.4.0 - 3.4.7, 3.1.0 - 3.1.16


External links
http://moodle.org/mod/forum/discuss.php?d=384010


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability