cve/2019/CVE-2019-5009.md

20 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-5009](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5009)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- 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
#### Github
- https://github.com/msantos/cvecat