CVE-2021-42840

high

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.

References

https://theyhack.me/SuiteCRM-RCE-2/

https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/

https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb

https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19

http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html

Details

Source: Mitre, NVD

Published: 2021-10-22

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.58945