7.2
HIGH
CVE-2024-52293
Craft CMS Remote Code Execution via Twig SSTI Vulnerability
Description

Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.

INFO

Published Date :

Nov. 13, 2024, 4:15 p.m.

Last Modified :

Nov. 19, 2024, 5:51 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2024-52293 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 Craftcms craft_cms
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-2024-52293.

URL Resource
https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58 Patch
https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv Exploit Vendor 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-2024-52293 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-52293 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.

  • Initial Analysis by [email protected]

    Nov. 19, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58 No Types Assigned https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58 Patch
    Changed Reference Type https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv No Types Assigned https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv Exploit, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 4.0.0 up to (excluding) 4.12.2 *cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 5.0.0 up to (excluding) 5.4.3
  • CVE Received by [email protected]

    Nov. 13, 2024

    Action Type Old Value New Value
    Added Description Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability is fixed in 4.12.2 and 5.4.3.
    Added Reference GitHub, Inc. https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv [No types assigned]
    Added Reference GitHub, Inc. https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58 [No types assigned]
    Added CWE GitHub, Inc. CWE-22
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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-2024-52293 is associated with the following CWEs:

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