CVE-2021-42840 in the critical feed json
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting.
published 2021-10-22 5 y ago modified 2026-06-17 4 mo ago also BIT-suitecrm-2021-42840 , EUVD-2021-29795
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 58.6%
- EPSS 58.6% chance of exploitation in 30 days, percentile 99.1%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- bitnami suitecrm 7.11.19
- salesagility suitecrm 7.11.19
Timeline
- First public exploit (Metasploit exploit/linux/http/suitecrm_log_file_rce)
- Published
Exploit prediction
58.60% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/suitecrm_log_file_rce SuiteCRM Log File Remote Code Execution metasploit exploit, good rank, 2021-04-28
- EDB-50531 SuiteCRM 7.11.18 - Remote Code Execution (RCE) (Authenticated) (Metasploit) webapps, 2021-11-17
- theyhack.me https://theyhack.me/SuiteCRM-RCE-2/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | suitecrm | <7.11.19 |
7.11.19 |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
theyhack.me
/SuiteCRM-RCE-2/
exploit, third-party-advisory, web
-
packetstormsecurity.com
/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
exploit, third-party-advisory, vdb-entry, web
-
docs.suitecrm.com
/admin/releases/7.11.x/#_7_11_19
release-notes, vendor-advisory, web
-
suitecrm.com
/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/
release-notes, vendor-advisory, web
-
github.com
/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-42840
web
Sources
- CVE List CVE-2021-42840
- NVD CVE-2021-42840
- OSV BIT-suitecrm-2021-42840
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.