// For flags

CVE-2023-40035

Craft CMS vulnerable to Remote Code Execution via validatePath bypass

Severity Score

7.2
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.

Craft es un CMS para crear experiencias digitales personalizadas en la web y más allá. Eludir la función validatePath puede llevar a una potencial ejecución remota de código. Esta vulnerabilidad puede llevar al control malicioso de sistemas vulnerables y a la exfiltración de datos. Aunque la vulnerabilidad es explotable sólo en los usuarios autenticados, configuración con ALLOW_ADMIN_CHANGES=true, todavía hay una amenaza potencial de seguridad (Ejecución remota de código). Este problema ha sido parcheado en las versiones 4.4.15 y 3.8.15.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-08-08 CVE Reserved
  • 2023-08-23 CVE Published
  • 2024-08-02 CVE Updated
  • 2024-08-02 First Exploit
  • 2024-08-29 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Craftcms
Search vendor "Craftcms"
Craft Cms
Search vendor "Craftcms" for product "Craft Cms"
>= 3.0.0 < 3.8.15
Search vendor "Craftcms" for product "Craft Cms" and version " >= 3.0.0 < 3.8.15"
-
Affected
Craftcms
Search vendor "Craftcms"
Craft Cms
Search vendor "Craftcms" for product "Craft Cms"
>= 4.0.0 < 4.4.15
Search vendor "Craftcms" for product "Craft Cms" and version " >= 4.0.0 < 4.4.15"
-
Affected
Craftcms
Search vendor "Craftcms"
Craft Cms
Search vendor "Craftcms" for product "Craft Cms"
4.0.0
Search vendor "Craftcms" for product "Craft Cms" and version "4.0.0"
rc1
Affected