Arbitrary file upload in Vtiger Crm
CVE-2019-5009
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.099 (95.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 96th percentile — 95.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.099 · newest: 0.099 · change: 0.000
Affected products
- Vtiger Crm — versions 7.1.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.vtigercrm.com/pipermail/vtigercrm-developers/2019-January/037852.html (Patch, Mailing List, Vendor Advisory)
- pentest.com.tr/exploits/Vtiger-CRM-7-1-0-Remote-Code-Execution.html (Exploit, Third Party Advisory)
- www.exploit-db.com/exploits/46065 (Exploit, VDB Entry, Third Party Advisory, exploit)
- code.vtiger.com/vtiger/vtigercrm/commit/52fc2fb520ddc55949c2fbedaabd61ddd0109375 (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2019-5009?
- CVE-2019-5009 is a high-severity vulnerability in Vtiger Crm, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.2/10. Published 2019-01-04.
- How severe is CVE-2019-5009?
- High severity. CVSS v3 base score is 7.2 out of 10.
- Is CVE-2019-5009 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.