Moodle Multiple Vulnerabilities

Summary
This host is running Moodle and is prone to multiple vulnerabilities.
Impact
Successful exploitation will allow remote attackers to inject arbitrary web script or HTML via a crafted URL. Impact level: System/Application
Solution
Upgrade to latest version 1.8.12, 1.9.8 http://download.moodle.org/
Insight
- Input data passed to add_to_log() function in wiki module in 'mod/wiki/view.php' and 'lib/form/selectgroups.php' is not properly sanitised before being used in SQL query. - Error in 'user/view.php', which fails to check role. - Error in 'phpCAS client library', allows remote attackers to inject arbitrary web script or HTML via a crafted URL. - Error in 'fix_non_standard_entities' function in the 'KSES HTML text cleaning library', allows remote attackers to inject arbitrary web script or HTML via crafted HTML entities.
Affected
Moodle version 1.8.x prior to 1.8.12 Moodle version 1.9.x prior to 1.9.8
References