CVE-2023-32679

Craft CMS is an open source content management system. In affected versions of Craft CMS an unrestricted file extension may lead to Remote Code Execution. If the name parameter value is not empty string('') in the View.php's doesTemplateExist() -> resolveTemplate() -> _resolveTemplateInternal() -> _resolveTemplate() function, it returns directly without extension verification, so that arbitrary extension files are rendered as twig templates. When attacker with admin privileges on a DEV or an improperly configured STG or PROD environment, they can exploit this vulnerability to remote code execution. Code execution may grant the attacker access to the host operating system. This issue has been addressed in version 4.4.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:03

Type Values Removed Values Added
References () https://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c - Exploit, Vendor Advisory () https://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c - Exploit, Vendor Advisory

26 May 2023, 17:33

Type Values Removed Values Added
First Time Craftcms craft Cms
Craftcms
CPE cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2
References (MISC) https://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c - (MISC) https://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c - Exploit, Vendor Advisory

Information

Published : 2023-05-19 20:15

Updated : 2024-11-21 08:03


NVD link : CVE-2023-32679

Mitre link : CVE-2023-32679

CVE.ORG link : CVE-2023-32679


JSON object : View

Products Affected

craftcms

  • craft_cms
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')