← Advisories

ATutor 2.0.2 Multiple Remote Vulnerabilities (SQLi/XSS/PD)

Medium
Advisory ID
ZSL-2011-5036
Release Date
06 August 2011
Vendor
ATutor (Inclusive Design Institute) - http://www.atutor.ca
Affected Version
2.0.2 (build r10589)
CVE
N/A
Tested On
Microsoft Windows XP Professional SP3 (EN), Apache 2.2.14 (Win32), PHP 5.3.1, MySQL 5.1.41
Summary

ATutor is an Open Source Web-based Learning Content Management System (LCMS) designed with accessibility and adaptability in mind. Educators can quickly assemble, package, and redistribute Web-based instructional content, easily retrieve and import prepackaged content, and conduct their courses online.

Description

ATutor suffers from sql injection, cross-site scripting and path disclosure vulnerabilities.

The XSS issue is triggered when input passed via the 'search_friends_HASH' POST parameter, where HASH is the value generated by the 'rand_key' parameter, to the '/mods/_standard/social/index_public.php' script is not properly sanitised before being returned to the user.

The PD issues can be triggered by the cookie variable 'ATutorID' when setting random value or none in various scripts.

The SQLi issue can be triggered by 'p_course', 'name' and 'value' parameters in '/mods/_standard/social/set_prefs.php' script.

Theese issues can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site, displaying the full installation path in an error report and to manipulate SQL queries by injecting arbitrary SQL code.

Proof of Concept
Disclosure Timeline
03.08.2011Submited vulnerability details to vendor's bug tracking system.
05.08.2011No reaction from vendor.
06.08.2011Public security advisory released.
11.08.2011Vendor releases fix.
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
06.08.2011Initial release
08.08.2011Added reference [4] and [5]
11.08.2011Added reference [6] and [7]
11.08.2011Added vendor status.