CVE-2021-42840
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2021-42840- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.0 High
AV:N/AC:L/Au:S/C:C/I:C/A:C - Weakness
- CWE-434
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-42840- Updated
- 2026-11-02
EUVDEUVD-2021-29795 No score
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.
- Record
EUVD-2021-29795- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9rqh-fr4c-99v2 No score
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name...
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.
- Record
GHSA-9rqh-fr4c-99v2- Weakness
- CWE-434
- Updated
- 2026-11-02
OSV
8.8
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.
- Record
CVE-2021-42840- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-suitecrm-2021-42840 No score
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.
- Record
BIT-suitecrm-2021-42840- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
suitecrmBitnami |
before 7.11.19 | 7.11.19 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | SuiteCRM 7.11.18 - Remote Code Execution (RCE) (Authenticated) (Metasploit) | 2021-11-17 |
| Metasploit | SuiteCRM Log File Remote Code Execution | 2021-04-28 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, Metasploit, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42840 is a high vulnerability (CVSS 8.8) in Salesagility Suitecrm, published October 22, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 58.6%, the 99th percentile. Fixed in suitecrm 7.11.19.
References
docs.suitecrm.com/admin/releases/7.11.x
github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released
theyhack.me/SuiteCRM-RCE-2
packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
nvd.nist.gov/vuln/detail/CVE-2021-42840
github.com/advisories/GHSA-9rqh-fr4c-99v2