{"id":"CVE-2021-42840","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2021-10-22T18:20:23.000Z","updatedAt":"2024-08-04T03:38:50.338Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:04.473Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/42xxx/CVE-2021-42840.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-42840","state":"PUBLISHED","datePublished":"2021-10-22T18:20:23.000Z","dateUpdated":"2024-08-04T03:38:50.338Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-10-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-11-17T16:06:13.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-42840","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","refsource":"MISC","url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19"},{"name":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","refsource":"MISC","url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb"},{"name":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","refsource":"MISC","url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/"},{"name":"https://theyhack.me/SuiteCRM-RCE-2/","refsource":"MISC","url":"https://theyhack.me/SuiteCRM-RCE-2/"},{"name":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://theyhack.me/SuiteCRM-RCE-2/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T03:38:50.338Z"}}]}}}