Dokeos Remote SQL Injection and Cross Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been identified in Dokeos, which could be exploited by remote attackers to bypass security restrictions, disclose sensitive information, or inject arbitrary SQL queries and scripting code.
The first issue is caused by input validation errors in the "main/mySpace/myStudents.php" script when processing the "student" and "course" parameters, which could be exploited to conduct SQL injection or cross site scripting attacks.
The second vulnerability is caused by input validation errors in the "main/auth/courses.php", "main/document/slideshow.php" and "main/exercice/testheaderpage.php" scripts when processing the "search_term", "curdirpath" and "file" paremeters, which could be exploited to conduct cross site scripting attacks.
The third issue is caused by an input validation error when processing the "frm_title" and "frm_content" parameters while adding a new personal agenda item, which could be exploited to conduct script insertion attacks.
The fourth vulnerability is caused by an input validation error when processing the "title" and "tutor_name" parameters while adding a new course, which could be exploited to conduct script insertion attacks.
The fifth issue is caused due to input validation errors when processing HTTP requests, which could be exploited to bypass security restrictions and manipulate certain data (e.g. add new personal agenda items) via cross site forgery attacks.
The sixth vulnerability is caused by input validation errors in the "main/exercice/Hpdownload.php" and "main/exercice/hotspot_lang_conversion.php" scripts when processing the "doc_url" and "lang" parameters, which could allow directory traversal attacks.
The seventh issue is caused by input validation errors in the "main/tracking/userLog.php" and "main/mySpace/lp_tracking.php" scripts when processing the "uInfo" and "course" parameters, which could be exploited to conduct SQL injection attacks.
     
Vulnerable Products   Vulnerable Software:
Dokeos version 1.8.5 and prior
     
Solution   Apply patch : http://www.dokeos.com/download/security/20090512/patch-dokeos-1.8.5-20090512.zip
     
CVE   CVE-2009-2009
CVE-2009-2008
CVE-2009-2007
CVE-2009-2006
CVE-2009-2005
CVE-2009-2004
     
References   http://www.dokeos.com/wiki/index.php/Security#Dokeos_1.8
http://holisticinfosec.org/content/view/112/45
http://gsasec.blogspot.com/2009/05/dokeos-free-185-multiple.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
Misc : Directory traversal - parameter starting with ../
3.2.0
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - POST : possible version probing in data
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
3.2.0
SQL injection Prevention - POST : suspicious CREATE statement in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
Directory traversal using ..\..
3.2.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
SQL injection Prevention - POST : suspicious UNION statement in data
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
Directory traversal
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - POST : suspicious DROP statement in data
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - POST : suspicious INSERT statement in data
3.2.0
SQL injection Prevention - POST : suspicious OR statement in data
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
Directory traversal backward root folder
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
SQL injection Prevention - POST : suspicious DECLARE statement in data
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
SQL injection Prevention - POST : suspicious CAST statement in data
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
SQL injection Prevention - GET : suspicious SQL statement in header
4.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2009-05-13 

 Target Type 
Client + Server 

 Possible exploit 
Local & Remote