vTiger CRM Remote Code Execution and SQL Injection Vulnerabilities


Description   Multiple vulnerabilities were identified in vTiger CRM, which could be exploited by remote attackers to execute arbitrary commands, gain knowledge of sensitive information, or conduct cross site scripting and SQL injection attacks.
The first issue is due to input validation errors in various scripts and modules when processing specially crafted parameters, which could be exploited by malicious users to conduct cross site scripting attacks.
The second vulnerability is due to an input validation error in the RSS aggregation module that does not properly handle malicious feeds, which may 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 flaw is due to an input validation error in the authentication procedure when processing a malformed "user_name" parameter, which may be exploited by remote attackers to gain unauthorized access to the administration interface via SQL injection attacks.
The fourth issue is due to an input validation error when processing specially crafted "date" and "record" parameters, which may be exploited by remote attackers to disclose sensitive information (e.g. usernames and passwords) via SQL injection attacks.
The fifth flaw is due to an error when processing specially crafted "action" and "module" parameters, which may be exploited by remote attackers to disclose the contents of arbitrary files.
The sixth vulnerability is due to an error in the logging funtion that does not properly validate user-supplied data, which could be exploited by remote attackers to inject and execute malicious PHP commands via the "vtigercrm.log" file.
The seventh issue is due to an error when processing the "name" field during the registration process, which may be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser.
The eighth flaw is due to an error in the "Users" module that does not properly validate the "templatename" parameter, which could be exploited by attackers to execute arbitrary PHP commands.
The ninth vulnerability resides in the "uploads" module that does not properly validate uploaded files, which could be exploited by attackers to upload and execute malicious PHP scripts.
     
Vulnerable Products   Vulnerable Software:
vTiger CRM version 4.2 and prior
     
Solution   Upgrade to version 4.2.3 : http://www.vtiger.com/index.php?option=com_content&task=view&id=30&Itemid=57
     
CVE   CVE-2005-3824
CVE-2005-3823
CVE-2005-3822
CVE-2005-3821
CVE-2005-3820
CVE-2005-3819
CVE-2005-3818
     
References   http://www.frsirt.com/english/reference/1343
http://www.frsirt.com/english/reference/1359
     
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 
High 

 Vulnerability First Public Report Date 
2005-11-24 

 Target Type 
Server 

 Possible exploit 
Local & Remote