First published: Fri Oct 22 2021(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
SalesAgility SuiteCRM | <7.11.19 | |
<7.11.19 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-42840 is a vulnerability in SuiteCRM before version 7.11.19 that allows remote code execution through a system settings Log File Name setting.
CVE-2021-42840 has a severity rating of 8.8 (Critical).
SuiteCRM versions up to and exclusive of 7.11.19 are affected by CVE-2021-42840.
An attacker can exploit CVE-2021-42840 by taking over an admin account and then using the logger_file_name setting to reference an attacker-controlled PHP file under the web root.
Yes, you can find references for CVE-2021-42840 at the following links: [Packet Storm](http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html), [SuiteCRM Documentation](https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19), [Metasploit Framework](https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb).