Skip to content
Fencer Vulns
high 8.8

CVE-2021-42840 in the critical feed json

SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting.

published 2021-10-22 5 y ago modified 2026-06-17 4 mo ago also BIT-suitecrm-2021-42840 , EUVD-2021-29795

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
58.6%
EPSS 58.6% chance of exploitation in 30 days, percentile 99.1%
public exploits
2
Metasploit, Exploit-DB

Summary

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.

Patch / fix

  • bitnami suitecrm 7.11.19
  • salesagility suitecrm 7.11.19

Timeline

  1. First public exploit (Metasploit exploit/linux/http/suitecrm_log_file_rce)
  2. Published

Exploit prediction

58.60% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Metasploit exploit/linux/http/suitecrm_log_file_rce SuiteCRM Log File Remote Code Execution metasploit exploit, good rank, 2021-04-28
  • EDB-50531 SuiteCRM 7.11.18 - Remote Code Execution (RCE) (Authenticated) (Metasploit) webapps, 2021-11-17
  • theyhack.me https://theyhack.me/SuiteCRM-RCE-2/ referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami suitecrm
<7.11.19
7.11.19

Classification

Weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.