TITLE: Moodle Cross-Site Scripting and SQL Injection Vulnerabilities SECUNIA ADVISORY ID: SA17526 VERIFY ADVISORY: http://secunia.com/advisories/17526/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: Moodle 1.2.x http://secunia.com/product/3445/ Moodle 1.3.x http://secunia.com/product/3675/ Moodle 1.4.x http://secunia.com/product/4214/ Moodle 1.5.x http://secunia.com/product/5354/ DESCRIPTION: rgod has discovered some vulnerabilities in Moodle, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks. 1) Input passed to the "id" parameter in "category.php" and "info.php", and the "user" parameter in "plot.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled. 2) Input passed to the "jump" parameter in "jumpto.php" isn't properly verified and sanitised before being returned to the user. This can be exploited to execute arbitrary Javascript code in a user's browser session in context of an affected site via the "javascript:" URI handler. The vulnerabilities have been confirmed in version 1.5.2. Other versions may also be affected. SOLUTION: The vulnerabilities have reportedly been fixed in version 1.6dev. PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://rgod.altervista.org/moodle16dev.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------