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.
References
Link | Resource |
---|---|
http://code.vtiger.com/vtiger/vtigercrm/commit/52fc2fb520ddc55949c2fbedaabd61ddd0109375 | Patch Vendor Advisory |
http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2019-January/037852.html | Mailing List Patch Vendor Advisory |
https://pentest.com.tr/exploits/Vtiger-CRM-7-1-0-Remote-Code-Execution.html | Exploit Third Party Advisory |
https://www.exploit-db.com/exploits/46065 | Exploit Third Party Advisory VDB Entry |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2019-01-04 14:29
Updated : 2024-02-28 16:48
NVD link : CVE-2019-5009
Mitre link : CVE-2019-5009
CVE.ORG link : CVE-2019-5009
JSON object : View
Products Affected
vtiger
- vtiger_crm
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type