Cross-site scripting in Moodle - CVE-2012-3389
Published: July 24, 2012 / Updated: January 16, 2023
Vulnerability details
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in mod/lti/typessettings.php in Moodle 2.2.x before 2.2.4 and 2.3.x before 2.3.1 when processing the (1) lti_typename or (2) lti_toolurl parameter. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
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.
Affected software
Fedora
moodle
How to mitigate CVE-2012-3389
moodle - addressed in versions 1.9.19-1.el5, 1.9.19-2.el5, 1.9.19-3.el5, 2.1.7-1.el6