What’s Vulnerable › Vulnerabilities
CVE-2021-42840
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 58.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-10-22 · updated 2026-06-17
- Weakness: CWE-434
Description
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.
Affected products
- salesagility SuiteCRM: before 7.11.19 — fixed in 7.11.19
How to fix
Upgrade to a fixed version: salesagility SuiteCRM 7.11.19. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
- https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19
- https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
- https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/
- https://theyhack.me/SuiteCRM-RCE-2/
- http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
- https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19
- https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
- https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/
- https://theyhack.me/SuiteCRM-RCE-2/
Get alerted when CVE-2021-42840 or the next vulnerability affects your stack