Total Tests:

SQL Injection in vtiger CRM

Advisory ID:HTB23168
Product:vtiger CRM
Vendor:vtiger
Vulnerable Versions:5.4.0 and probably prior
Tested Version:5.4.0
Advisory Publication:August 7, 2013 [without technical details]
Vendor Notification:August 7, 2013
Vendor Fix:September 17, 2013
Public Disclosure:September 18, 2013
Latest Update:September 23, 2013
Vulnerability Type:SQL Injection [CWE-89]
CVE Reference:CVE-2013-5091
Risk Level:Medium
CVSSv2 Base Score:6.5 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered SQL injection vulnerability in vtiger CRM, which can be exploited to execute arbitrary SQL commands in application's database.

1) SQL Injection in vtiger CRM: CVE-2013-5091
The vulnerability exists due to insufficient validation of "onlyforuser" HTTP GET parameter passed to "/index.php" script. A remote authenticated user can execute arbitrary SQL commands in application's database.
The following exploitation example displays version of MySQL server:
http://[host]/index.php?action=index&day=22&hour=0&module=Calendar&month=7&o nlyforuser=1%20%20UNION%20SELECT%201,2,3,4,5,6,version%28%29,8,9,10,11,12,13 ,14,15,16,17,18,19,20,1,22,23,24,25,26,27,28,29,30,31,32%20--%20&parenttab=M y%20Home%20Page&subtab=event&view=day&viewOption=hourview&year=2013
Successful exploitation of this vulnerability requires the attacker to be registered and logged-in. The registration is disabled by default.
Blind[!] SQL injection vulnerability in the same parameter of the vulnerable script was discovered in old version of vtiger CRM (5.2.1) on October 5, 2011 by Aung Khant: http://osvdb.org/76138

How to Detect SQL Injection Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Vendor has issued a fixed version of the vulnerable script "VtigerCRM540_Security_Patch2.zip" available for download at:
http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%205.4.0/Core%20Product/


References:
[1] High-Tech Bridge Advisory HTB23168 - https://www.immuniweb.com/advisory/HTB23168 - SQL Injection in vtiger CRM.
[2] vtiger CRM - vtiger.com – vtiger CRM is an on demand customer relationship management software that provides sales, marketing, and support teams with powerful tools to efficiently and effectively collaborate in providing the ideal customer experience.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential