CVE-2023-44382 CRITICAL

CVE-2023-44382: October CMS safe mode bypass using Twig sandbox escape

Vendor Octobercms
Product october
Weakness CWE-94 · Code injection
Published December 1, 2023
Last update August 2, 2024

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

October is a Content Management System (CMS) and web platform to assist with development workflow. An authenticated backend user with the `editor.cms_pages`, `editor.cms_layouts`, or `editor.cms_partials` permissions who would normally not be permitted to provide PHP code to be executed by the CMS due to `cms.safe_mode` being enabled can write specific Twig code to escape the Twig sandbox and execute arbitrary PHP. This issue has been patched in 3.4.15.

Key dates

02Disclosure timeline

December 1, 2023 CVE published
August 2, 2024 Record updated