CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Craftcms

CVE-2023-32679
Craftcms Craft Cms vulnerability

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.

Affected products

Craft Cms. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Craftcms Craft Cms runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Craftcms products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.