Korean
<< Back
VID 21333
Severity 30
Port 80, ...
Protocol TCP
Class CGI
Detailed Description The Moodle software is vulnerable to a Cross-Site Scripting Vulnerability via the file variable in the 'help.php' script.
Moodle is an open-source PHP-based course management system (CMS) for Microsoft Windows, Unix, and Linux-based platforms. The versions prior to 1.3.3 of Moodle are vulnerable a Cross-Site Scripting Vulnerability in the 'help.php' script, caused by a failure of the application to properly sanitize user-supplied input prior to including it in dynamic web content. A remote attacker could create a specially crafted URL link as the following, and then persuade a target user to click it.

http://[target_server]/help.php?file=<script>alert(document.cookie);</script>

Once the URL is clicked, the embedded codes would be executed in the victim's Web browser. A remote attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

* References:
http://www.securitytracker.com/alerts/2004/Jul/1010697.html

* Platforms Affected:
moodle 1.1.1
moodle 1.2, 1.2.1
moodle 1.3, 1.3.1, 1.3.2
Any operating system Any version
Recommendation Upgrade to the latest version of Moodle (1.3.3 or later), available from the Moodle's Download site at http://moodle.org/download.php/sourceforge/
Related URL CVE-2004-0725 (CVE)
Related URL 10718 (SecurityFocus)
Related URL 16684 (ISS)