WebCalendar Remote SQL Injection and File Overwrite Vulnerabilities


Description   Multiple vulnerabilities were identified in WebCalendar, which could be exploited by malicious users to conduct SQL injection attacks or overwrite arbitrary files.
The first flaw is due to input validation errors in the "activity_log.php", "admin_handler.php", "edit_template.php" and "export_handler.php" scripts that do not properly validate certain parameters, which may be exploited by malicious users to conduct SQL injection attacks.
The second issue is due to an input validation error in the "export_handler.php" file that does not properly validate the "id" and "format" parameters, which could be exploited by remote attackers to overwrite arbitrary files via HTTP POST requests.
     
Vulnerable Products   Vulnerable Software:
WebCalendar version 1.0.1 and prior
     
Solution   Upgrade to version 1.0.2 : http://sourceforge.net/project/showfiles.php?group_id=3870
     
CVE   CVE-2005-3961
CVE-2005-3949
     
References   http://www.ush.it/2005/11/28/webcalendar-multiple-vulnerabilities/
     
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 
2005-11-29 

 Target Type 
Server 

 Possible exploit 
Local & Remote