Moodle install.php cross-site scripting

moodle-install-xss (39630) The risk level is classified as MediumMedium Risk

Description:

Moodle is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the install.php script. A remote attacker could exploit this vulnerability using the dbname parameter to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

Platforms Affected:

  • Moodle, Moodle 1.8.3

Remedy:

Upgrade to the latest version of Moodle (1.8.4 or later), available from the Moodle Web site. See References.

Consequences:

Gain Access

References:

  • BugTraq Mailing List, Fri Jan 11 2008 - 17:51:55 CST , Cross site scripting (XSS) in Moodle 1.8.3 at http://archives.neohapsis.com/archives/bugtraq/2008-01/0145.html.
  • Moodle Web Site, Moodle at http://moodle.org/.
  • BID-27259: Moodle 'install.php' Cross Site Scripting Vulnerability
  • CVE-2008-0123: Cross-site scripting (XSS) vulnerability in install.php for Moodle 1.8.3, and possibly other versions before 1.8.4, allows remote attackers to inject arbitrary web script or HTML via the dbname parameter. NOTE: this issue only exists until the installation is complete.
  • FrSIRT/ADV-2008-0164: Moodle dbname Parameter Handling Cross Site Scripting Vulnerability
  • SUSE-SR:2008:003: SUSE Security Summary Report

Reported:

Jan 11, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page