Cross-site scripting in Moodle - CVE-2011-4591

 

Cross-site scripting in Moodle - CVE-2011-4591

Published: July 20, 2012 / Updated: January 16, 2023


Vulnerability identifier: #VU43828
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-4591
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

Vulnerability allows a remote attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in the print_object function in lib/datalib.php in Moodle 2.0.x before 2.0.6 and 2.1.x before 2.1.3, when a developer debugging script is enabled,. 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

Moodle
Fedora
moodle

How to mitigate CVE-2011-4591

Install update from vendor's website.

Moodle - addressed in versions 2.0.6, 2.1.3
moodle - update to 2.1.3-1.el6

External References

Related Security Bulletins