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.
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Link | Tags |
---|---|
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 | third party advisory exploit |
https://www.exploit-db.com/exploits/46065 | exploit vdb entry third party advisory |
http://code.vtiger.com/vtiger/vtigercrm/commit/52fc2fb520ddc55949c2fbedaabd61ddd0109375 | patch vendor advisory |