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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2023-05-19T19:40:14.858Z

Updated: 2024-08-02T15:25:36.659Z

Reserved: 2023-05-11T16:33:45.731Z

Link: CVE-2023-32679

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-05-19T20:15:09.310

Modified: 2024-11-21T08:03:50.137

Link: CVE-2023-32679

cve-icon Redhat

No data.