Moodle PHPCOVERAGE_HOME Parameter XSS

This script is Copyright (C) 2011-2014 Tenable Network Security, Inc.


Synopsis :

The remote web server hosts a PHP script that is susceptible to a
cross-site scripting attack.

Description :

The version of Moodle installed on the remote host does not sanitize
user-supplied input to the 'PHPCOVERAGE_HOME' parameter of the
'lib/spikephpcoverage/src/phpcoverage.remote.top.inc.php' script
before using it to generate dynamic HTML.

An attacker may be able to leverage this issue to inject arbitrary
HTML or script code into a user's browser to be executed within the
security context of the affected site.

See also :

http://www.nessus.org/u?8c204efe

Solution :

Upgrade to Moodle 2.0.2 or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 4.1
(CVSS2#E:F/RL:U/RC:ND)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 51852 ()

Bugtraq ID: 46085

CVE ID: