Moodle Multiple Modules Cross Site Scripting and SQL Injection Vulnerabilities


Description   Multiple vulnerabilities have been identified in Moodle, which could be exploited by remote attackers to gain knowledge of sensitive information or execute arbitrary SQL commands and scripting code.
The first flaw is due to unspecified input validation errors in various scripts when processing certain parameters, which could be exploited by malicious people to conduct SQL injection attacks.
The second flaw is due to input validation errors in the "doc/index.php" and "files/index.php" scripts when processing certain parameters, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser in the security context of an affected Web site.
The third issue is due to errors in the scheduled backups module and the "help.php" script, which could be exploited by attackers to disclose sensitive information.
Note : Other security issues have also been identified and addressed.
     
Vulnerable Products   Vulnerable Software:
Moodle version 1.6.1 and prior
     
Solution   Upgrade to Moodle version 1.6.2 : http://moodle.org/mod/resource/view.php?id=2958
     
CVE   CVE-2006-4943
CVE-2006-4942
CVE-2006-4941
CVE-2006-4940
CVE-2006-4939
CVE-2006-4938
CVE-2006-4937
CVE-2006-4936
CVE-2006-4935
CVE-2006-4786
CVE-2006-4785
CVE-2006-4784
     
References   http://docs.moodle.org/en/Release_Notes#Moodle_1.6.2
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
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 OPENROWSET statement in URL
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
SQL injection Prevention - POST : suspicious UPDATE statement 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
SQL injection Prevention - GET : suspicious shutdown statement in URL
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
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement 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
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2006-09-13 

 Target Type 
Server 

 Possible exploit 
Local & Remote