vtiger CRM Multiple Vulnerabilities


Description   Multiple vulnerabilities have been discovered in vtiger CRM, which can be exploited by malicious users to disclose sensitive information and conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks and disclose sensitive information.
1) Input passed via the "default_user_name" parameter to index.php (when "module" is set to "Users" and "action" is set to "Login") is not properly sanitised in modules/Users/Login.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the "service" parameter to vtigerservice.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
3) Input passed via the "module_name" parameter to modules/com_vtiger_workflow/sortfieldsjson.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes.
Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled.
4) Input passed to the "module" parameter in phprint.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
5) Input passed to the "date_closed", "closingdate_start", "closingdate_end", "leadsource", and "sales_stage" parameters in index.php (when "module" is set to "Potentials" and "action" is set to "ListView") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
6) Input passed to the "query" parameter in index.php (when "module" is set to "Campaigns", "action" is set to "index", and "searchtype" is set to "BasicSearch") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
7) Input passed to the "subtab", "view", and "viewOption" parameters in index.php (when "module" is set to "Calendar" and "action" is set to "index") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities #3 and #7 are confirmed in versions 5.2.1 and 5.3.0. Other versions may also be affected.
8) Input passed to the "mode" and "profile_id" parameters in index.php (when "module" is set to "Settings" and "action" is set to "profilePrivileges") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
9) Input passed to the "contact_id" and "parent_id" parameters in index.php (when "module" is set to "Calendar" and "action" is set to "EditView") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
10) Input passed to the "start" parameter in index.php (when "module" is set to "Calendar" and "action" is set to "ListView") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
11) Input passed to the "viewname" parameter in index.php (when "module" is set to "Calendar" and "action" is set to "CalendarAjax") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
12) Input passed to the "return_url" and "workflow_id" parameters in index.php (when "module" is set to "com_vtiger_workflow" and "action" is set to "editworkflow") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
13) Input passed to the "activity_mode" parameter in index.php (when "module" is set to "Calendar", "action" is set to "DetailView", and "record" is set to a valid record) is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
14) Input passed to the "display_view" parameter in index.php (when "module" is set to "Dashboard" and "action" is set to "index") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
15) Input passed to the "fo... (truncated text)
     
Vulnerable Products   Vulnerable Software:
vtiger CRM 5.x
     
Solution   No official solution is currently available. Update to version 5.4.0, which fixes vulnerabilities #1-#9, #11, #12, #22, #23, and #25. Additionally apply VtigerCRM540_Security_Patch.zip and VtigerCRM540_Security_Patch2.zip, which fix vulnerability #21. http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%205.4.0/Core%20Product/
     
CVE   CVE-2012-4867
CVE-2011-4679
CVE-2011-4670
     
References   vtiger CRM:
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7003
Giovanni Pellerano and Alessandro Tanasi:
http://www.ush.it/team/ush/hack-vtigercrm_520/vtigercrm_520.txt
AutoSec Tools:
http://www.autosectools.com/Advisories/vtiger.CRM.5.2.1_Reflected.Cross-site.Scripting_176.html
http://www.autosectools.com/Advisories/vtiger.CRM.5.2.1_Local.File.Inclusion_177.html
YGN Ethical Hacker Group:
http://yehg.net/lab/pr0js/advisories/[vTiger_5.2.1]_XSS
http://yehg.net/lab/pr0js/advisories/[vTiger_5.2.1]_blind_sqlin
Zero Science Lab:
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5052.php
     
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 - GET : suspicious 'meta' 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
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - POST : suspicious 'meta' tag found 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
PHP : Remote file inclusion prevention : suspicious root_path parameter found in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
Directory traversal using ..\..
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
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
3.2.0
Directory traversal
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
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found 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
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
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
Escaped NULL char in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
Misc : Local File Inclusion - suspicious /etc/passwd found in URL
3.5.0
XSS - Prevention - POST : suspicious 'style' tag found in data
5.0.0
XSS - Prevention - POST : javascript code found in data
5.0.0
XSS - Prevention - POST : suspicious tag with event found in data
5.0.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
5.0.0
XSS - Prevention - POST : 'location' javascript object found in data
5.0.0
XSS - Prevention - POST : code allowing cookie access found in data
5.0.0
XSS - Prevention - POST : 'script' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
5.0.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'div' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
5.0.0
XSS - Prevention - POST : suspicious 'meta' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'object' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
5.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2010-11-17 

 Target Type 
Server 

 Possible exploit 
Remote