CVE-2022-35653
Moodle LTI module reflected XSS risk
Record summary
CVE-2022-35653 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of user-supplied data in the LTI module. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks. This vulnerability does not impact authenticated users.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Feb 15, 2024 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
moodleBrowse Moodle / moodle | VulnCheck | Version data not supplied | |
Moodle | CVE List | Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 | affected |
moodle/moodleBrowse Packagist / moodle/moodle | GitHub Advisory | 4.0 to < 4.0.2 · Fixed in 4.0.2 | affected |
| 3.11 to < 3.11.8 · Fixed in 3.11.8 | affected | ||
| 3.9 to < 3.9.15 · Fixed in 3.9.15 | affected | ||
Nuclei templates
1ProjectDiscoveryMEDIUMMoodle LTI module Reflected - Cross-Site ScriptingCVSS 6.1
A reflected XSS issue was identified in the LTI module of Moodle. The vulnerability exists due to insufficient sanitization of user-supplied data in the LTI module. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.
Impact
Attackers can inject malicious JavaScript through the LTI module that executes in educators' or students' browsers, potentially stealing Moodle session credentials and accessing sensitive course information.
Remediation
Update Moodle to a patched version that properly sanitizes user input in the LTI module and prevents execution of injected scripts.
Source: ProjectDiscovery