Cross-site scripting in Moodle - CVE-2016-2152
Published: May 22, 2016 / Updated: January 16, 2023
Vulnerability details
Vulnerability allows a remote attacker to perform Cross-site scripting attacks.
An input validation error exists in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 when processing an external DB profile field. 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-2016-2152
moodle - addressed in versions 2.7.19-1.el6, 2.8.11-1.fc22, 2.9.5-1.fc23, 3.0.3-1.el7, 3.0.3-1.fc24