CVE-2021-42840
HIGHSuiteCRM < 7.11.19 - Remote Code Execution via Log File Name Setting
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2021-42840.
PoCs published by M. Cory Billington, including Metasploit module exploits/linux/http/suitecrm_log_file_rce.
AI-analyzed exploit summary This Metasploit module exploits CVE-2021-42840 in SuiteCRM by manipulating log file extensions to achieve remote code execution. It leverages improper input validation to treat a log file as a PHP file, then injects malicious PHP code via user profile updates.
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.
Exploits (2)
This Metasploit module exploits CVE-2021-42840 in SuiteCRM by manipulating log file extensions to achieve remote code execution. It leverages improper input validation to treat a log file as a PHP file, then injects malicious PHP code via user profile updates.
This Metasploit module exploits CVE-2021-42840 in SuiteCRM by manipulating the log file extension parameter to treat the log file as a PHP file, then injecting PHP code via the username field to achieve remote code execution.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H