Arbitrary file upload in Salesagility Suitecrm
CVE-2021-42840
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting. In certain circumstances involving admin account takeover, logger_file_name can refer to an attacker-controlled PHP file under the web root, because only the all-lowercase PHP file extensions were blocked. NOTE: this issue exists because of an incomplete fix for CVE-2020-28328.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.586 (99.1th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.589 · newest: 0.586 · change: -0.003
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- docs.suitecrm.com/admin/releases/7.11.x/ (Release Notes, Vendor Advisory)
- github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/ht… (Third Party Advisory)
- suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/ (Release Notes, Vendor Advisory)
- theyhack.me/SuiteCRM-RCE-2/ (Exploit, Third Party Advisory)
- packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-42840?
- CVE-2021-42840 is a high-severity vulnerability in Salesagility Suitecrm, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2021-10-22.
- How severe is CVE-2021-42840?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-42840 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.