{"id":"CVE-2021-42840","published":"2021-10-22T18:20:23Z","modified":"2024-08-04T03:38:50Z","title":"SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"SuiteCRM before 7.11.19 contains a remote code execution flaw in the system settings Log File Name (logger_file_name) setting, where an incomplete fix for an earlier issue left the blocking of PHP file extensions bypassable whenever they are not all lowercase. An attacker who has taken over an administrator account can point this setting at an attacker-controlled PHP file under the web root and have it executed, which requires admin-level authentication and access to the application's settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:58Z"},"cvss":null,"epss":{"score":0.58597,"percentile":0.99123,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","tags":["x_refsource_MISC"]},{"url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","tags":["x_refsource_MISC"]},{"url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","tags":["x_refsource_MISC"]},{"url":"https://theyhack.me/SuiteCRM-RCE-2/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-29795","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-29795","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50531,"url":"https://www.exploit-db.com/exploits/50531","title":"SuiteCRM 7.11.18 - Authenticated Remote Code Execution (RCE) (Metasploit)","type":"webapps","platform":"php","date":"2021-11-17","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-11-17"},"metasploit":[{"name":"SuiteCRM Log File Remote Code Execution","module":"exploit/linux/http/suitecrm_log_file_rce","type":"exploit","disclosureDate":"2021-04-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb"}],"first":{"date":"2021-04-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2021-04-28","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2021-11-17","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","provenance":"source"},{"date":"2021-10-22","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-42840","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.82,"detail":"percentile 0.9912"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2020-28328-family-cve-2020-28328","parents":[{"from":"CVE-2020-28328","to":"CVE-2021-42840","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2020-28328.","from":"CVE.org","in":"CVE-2021-42840"}]}]}}