SB2019010409 - Multiple vulnerabilities in Vtiger CRM
Published: January 4, 2019 Updated: August 8, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) SQL injection (CVE-ID: CVE-2019-11057)
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
2) Arbitrary file upload (CVE-ID: CVE-2019-5009)
The vulnerability allows a remote privileged user to execute arbitrary code.
Vtiger CRM 7.1.0 before Hotfix2 allows uploading files with the extension "php3" in the logo upload field, if the uploaded file is in PNG format and has a size of 150x40. One can put PHP code into the image; PHP code can be executed using "<? ?>" tags, as demonstrated by a CompanyDetailsSave action. This bypasses the bad-file-extensions protection mechanism. It is related to actions/CompanyDetailsSave.php, actions/UpdateCompanyLogo.php, and models/CompanyDetails.php.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2019-April/037964.html
- https://medium.com/@mohnishdhage/sql-injection-vtiger-crm-v7-1-0-cve-2019-11057-245f84fc5c2c
- http://code.vtiger.com/vtiger/vtigercrm/commit/52fc2fb520ddc55949c2fbedaabd61ddd0109375
- http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2019-January/037852.html
- https://pentest.com.tr/exploits/Vtiger-CRM-7-1-0-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/46065