`
ATutor 2.0.2 Multiple Remote Vulnerabilities (SQLi/XSS/PD)
Vendor: ATutor (Inclusive Design Institute)
Product web page: http://www.atutor.ca
Affected version: 2.0.2 (build r10589)
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.
Desc: 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.
Tested on: Microsoft Windows XP Professional SP3 (EN)
Apache 2.2.14 (Win32)
PHP 5.3.1
MySQL 5.1.41
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
@zeroscience
Advisory ID: ZSL-2011-5036
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5036.php
31.07.2011
PoC:
XSS:
---------------------
POST http://localhost/ATutor/mods/_standard/social/index_public.php HTTP/1.0
search_friends_2c62c1e5aff70ba8a3268d1d1885a600=1>"><script>alert(1)</script>&search=Search&rand_key=2c62c1e5aff70ba8a3268d1d1885a600
SQLi:
---------------------
http://localhost/mods/_standard/social/set_prefs.php?cid=&lang=&p_course=[INJECTION]&h=&expand=&oid=&id=&submit_language=&st=&name=[INJECTION]&value=[INJECTION]
PD:
---------------------
GET /documentation/common/frame_header.php HTTP/1.0
Accept: */*
Host: localhost
Cookie: ATutorID=-1.0
Connection: Close
Pragma: no-cache
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation