{"id":"CVE-2021-42840","details":"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.","aliases":["BIT-suitecrm-2021-42840"],"modified":"2026-08-27T08:40:42.782582Z","published":"2021-10-22T19:15:08.173Z","references":[{"type":"ADVISORY","url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19"},{"type":"ADVISORY","url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb"},{"type":"ADVISORY","url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"https://theyhack.me/SuiteCRM-RCE-2/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/SuiteCRM/SuiteCRM","events":[{"introduced":"0"},{"fixed":"9cb957e4f41562eb44f6ce8c982e2a3c169fc951"}],"database_specific":{"cpe":"cpe:2.3:a:salesagility:suitecrm:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"7.11.19"}],"source":"CPE_RANGE"}}],"versions":["v7.11.18","v7.11.17","v7.11.16","v7.11.15","v7.11.14","v7.11.13","v7.11.12","v7.11.11","v7.11.8","v7.11.7","v7.11.6","v7.11.5","v7.11.4","v7.11.3","v7.11.2","v7.10.12","v7.11.1","v7.11.0","v7.10.11","v7.10.10","v7.10.5","v7.10.7","v7.10.4","v7.10.6","v7.10.1","v7.10.3","v7.10.2","v7.10.0","v7.9.14","v7.9.13","v7.9.12","v7.9.11","v.7.9.11","v7.9.10","v7.9.8","v7.9.4","7.9.6","v7.9.5","v7.9.3","v7.9.1","v7.9.0","v7.9.0-rc","v7.9.0-beta","v7.8.2","v7.8.1","v7.8.0","v7.8.0-rc","v7.8.0-beta.2","v7.8.0-beta","v7.7.4","v7.7.3","v7.7.2","v7.7","v7.7-rc2","v7.7-rc","v7.7-beta2","v7.7-beta1","v7.6.1","v7.6","v7.5.1","v7.5-beta.2","v7.4.3","v7.5-beta","v7.4.1","v7.4.2","v7.3.2","v7.3.1","v7.3","v7.3-beta","v7.2","v7.2.1","v7.1.3","v7.2beta2","v7.1.4","v7.2beta","v7.1.2","v7.1.1","v7.1","v7.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42840.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}