8.8
HIGH
CVE-2021-42840
SuiteCRM Remote Code Execution Vulnerability
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.

INFO

Published Date :

Oct. 22, 2021, 7:15 p.m.

Last Modified :

Nov. 30, 2021, 8:27 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-42840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Salesagility suitecrm
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-42840.

URL Resource
http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html Exploit Third Party Advisory VDB Entry
https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19 Release Notes Vendor Advisory
https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb Third Party Advisory
https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/ Release Notes Vendor Advisory
https://theyhack.me/SuiteCRM-RCE-2/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-42840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-42840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 30, 2021

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Nov. 17, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 25, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19 No Types Assigned https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19 Release Notes, Vendor Advisory
    Changed Reference Type https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb No Types Assigned https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb Third Party Advisory
    Changed Reference Type https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/ No Types Assigned https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/ Release Notes, Vendor Advisory
    Changed Reference Type https://theyhack.me/SuiteCRM-RCE-2/ No Types Assigned https://theyhack.me/SuiteCRM-RCE-2/ Exploit, Third Party Advisory
    Added CWE NIST CWE-434
    Added CPE Configuration OR *cpe:2.3:a:salesagility:suitecrm:*:*:*:*:*:*:*:* versions up to (excluding) 7.11.19
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-42840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-42840 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

11.02 }} 2.11%

score

0.95228

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability