Code Injection in October CMS - CVE-2021-21264

 

Code Injection in October CMS - CVE-2021-21264

Published: May 3, 2021


Vulnerability identifier: #VU52790
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21264
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary PHP code on the target system.

The vulnerability exists due to incomplete patch implementation for previously patched vulnerabilities #VU48707 and #VU48710. A remote authenticated user with the cms.manage_pages, cms.manage_layouts, or cms.manage_partials permissions can  write specific Twig code to escape the Twig sandbox and execute arbitrary PHP.


Affected software

October CMS

How to mitigate CVE-2021-21264

Install updates from vendor's website.

October CMS - addressed in versions 1.0.472, 1.1.2

External References

Related Security Bulletins