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. 21, 2024, 6:28 a.m.

Source :

cve@mitre.org

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

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
    Added Reference https://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19
    Added Reference https://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
    Added Reference https://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/
    Added Reference https://theyhack.me/SuiteCRM-RCE-2/
  • CVE Modified by cve@mitre.org

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by nvd@nist.gov

    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 cve@mitre.org

    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 nvd@nist.gov

    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.
10010090908080707060605050404030302020101000March 7, 2023March 7, 2023April 17, 2023April 17, 2023May 2, 2023May 2, 2023May 15, 2023May 15, 2023May 30, 2023May 30, 2023June 13, 2023June 13, 2023June 27, 2023June 27, 2023July 27, 2023July 27, 2023Aug. 11, 2023Aug. 11, 2023Oct. 7, 2023Oct. 7, 2023Dec. 2, 2023Dec. 2, 2023June 11, 2024June 11, 2024Aug. 30, 2024Aug. 30, 2024Oct. 25, 2024Oct. 25, 2024Nov. 24, 2024Nov. 24, 2024Dec. 17, 2024Dec. 17, 2024March 17, 2025March 17, 2025March 29, 2025March 29, 2025March 30, 2025March 30, 2025
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.

47.77 }} -1.68%

score

0.97460

percentile

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