First published: Fri May 19 2023(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Craftcms Craft Cms | >=4.0.0<4.4.6 | |
composer/craftcms/cms | >=4.0.0<4.4.6 | 4.4.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-32679 is a vulnerability in Craft CMS that allows for unrestricted file extensions, leading to remote code execution.
CVE-2023-32679 allows an attacker to execute arbitrary code remotely by exploiting unrestricted file extensions in Craft CMS.
CVE-2023-32679 has a severity rating of 7.2 (High).
To fix CVE-2023-32679, update Craft CMS to version 4.4.6 or newer.
You can find more information about CVE-2023-32679 in the Craft CMS security advisory at: https://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c