{"id":"CVE-2021-42840","aliases":["BIT-suitecrm-2021-42840","EUVD-2021-29795","GHSA-9rqh-fr4c-99v2"],"status":"published","title":"SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name...","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.58597,"percentile":0.99108,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-434"],"published":"2021-10-22T18:20:23Z","modified":"2026-10-24T10:30:21Z","exploits":[{"source":"exploitdb","id":"EDB-50531","title":"SuiteCRM 7.11.18 - Remote Code Execution (RCE) (Authenticated) (Metasploit)","type":"webapps","platform":"php","date":"2021-11-17","verified":true,"url":"https://www.exploit-db.com/exploits/50531"},{"source":"metasploit","id":"exploit/linux/http/suitecrm_log_file_rce","title":"SuiteCRM Log File Remote Code Execution","type":"exploit","platform":"Linux,Unix","date":"2021-04-28","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/suitecrm_log_file_rce"}],"fixes":[{"ecosystem":"Bitnami","package":"suitecrm","fixed_in":["7.11.19"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"suitecrm","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.11.19"}]}]}],"products":[{"vendor":"salesagility","product":"suitecrm"}],"references":[{"url":"https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web","advisory"]},{"url":"https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web","advisory"]},{"url":"https://theyhack.me/SuiteCRM-RCE-2/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","evidence"]},{"url":"http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42840","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9rqh-fr4c-99v2"}],"sources":{"cve":[{"id":"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.","status":"published","published":"2021-10-22T18:20:23Z","modified":"2024-08-04T03:38:50.338Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29795","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.","status":"published","published":"2021-10-22T18:20:23Z","modified":"2024-08-04T03:38:50Z","updated_at":"2026-11-03T03:24:15.299027Z"}],"ghsa":[{"id":"GHSA-9rqh-fr4c-99v2","title":"SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name...","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.","status":"published","published":"2022-05-24T19:18:36Z","modified":"2023-01-30T05:02:58Z","cwes":["CWE-434"],"updated_at":"2026-11-02T14:46:45.069338Z"}],"nvd":[{"id":"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.","status":"published","published":"2021-10-22T19:15:08.173Z","modified":"2026-06-17T04:10:11.56Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:00.137719Z"}],"osv":[{"id":"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.","status":"published","published":"2021-10-22T19:15:08.173Z","modified":"2026-10-24T10:30:21.569824817Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"BIT-suitecrm-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.","status":"published","published":"2024-03-06T11:09:30.694Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:35.111822Z"}]}}
