{"api_version":"1","generated_at":"2026-07-23T20:19:00+00:00","cve":"CVE-2021-42840","urls":{"html":"https://cve.report/CVE-2021-42840","api":"https://cve.report/api/cve/CVE-2021-42840.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42840","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42840"},"summary":{"title":"CVE-2021-42840","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-10-22 19:15:00","updated_at":"2021-11-30 20:27:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","name":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","refsource":"MISC","tags":[],"title":"7.11.x Releases :: SuiteCRM Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","name":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","refsource":"MISC","tags":[],"title":"History for modules/exploits/linux/http/suitecrm_log_file_rce.rb - rapid7/metasploit-framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://theyhack.me/SuiteCRM-RCE-2/","name":"https://theyhack.me/SuiteCRM-RCE-2/","refsource":"MISC","tags":[],"title":"SuiteCRM RCE Log File Extension Bypass 2 - theyhack.me","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","name":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","refsource":"MISC","tags":[],"title":"Time to upgrade: SuiteCRM 7.11.19 & 7.10.30 LTS Released! - SuiteCRM","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"SuiteCRM 7.11.18 Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42840","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42840","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"salesagility","cpe5":"suitecrm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":[{"url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","refsource":"MISC","name":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19"},{"url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","refsource":"MISC","name":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb"},{"url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","refsource":"MISC","name":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/"},{"url":"https://theyhack.me/SuiteCRM-RCE-2/","refsource":"MISC","name":"https://theyhack.me/SuiteCRM-RCE-2/"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html"}]}},"nvd":{"publishedDate":"2021-10-22 19:15:00","lastModifiedDate":"2021-11-30 20:27:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9},"severity":"HIGH","exploitabilityScore":8,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:salesagility:suitecrm:*:*:*:*:*:*:*:*","versionEndExcluding":"7.11.19","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42840","Ordinal":"219348","Title":"CVE-2021-42840","CVE":"CVE-2021-42840","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42840","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"42840","Ordinal":"2","NoteData":"2021-10-22","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"42840","Ordinal":"3","NoteData":"2021-11-17","Type":"Other","Title":"Modified"}]}}}