CVE-2023-44382CWE-94

October CMS safe mode bypass using Twig sandbox escape

Critical · published December 1, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
58.6
In the wild
Unconfirmed
What it is

🚨 A crafty editor can slip PHP through a Twig sandbox! With a tweak here and a twist there, someone with the right permissions can bypass security and run arbitrary PHP code. 🔥 This vulnerability is like a sneaky chef who finds a way to add forbidden ingredients to a recipe, even though the kitchen has strict rules about what can be used — once those ingredients are in, there's no telling what kind of dish will come out! An attacker could exploit this flaw to execute any PHP commands they desire, potentially gaining full control over the CMS and wreaking havoc on your site — think of it as someone breaking into your kitchen and cooking up chaos! This is absolutely devastating and could compromise your data and site functionality.

Put simply

This vulnerability is like a sneaky chef who finds a way to add forbidden ingredients to a recipe, even though the kitchen has strict rules about what can be used — once those ingredients are in, there's no telling what kind of dish will come out! This vulnerability in October CMS allows authenticated users with certain permissions to bypass the 'cms.safe_mode' restriction. By cleverly crafting Twig code, they can execute arbitrary PHP, which could lead to full system compromise.

What to do

An attacker could exploit this flaw to execute any PHP commands they desire, potentially gaining full control over the CMS and wreaking havoc on your site — think of it as someone breaking into your kitchen and cooking up chaos! This is absolutely devastating and could compromise your data and site functionality. Immediate action is required: patch to version 3.4.15 to secure this vulnerability. Ensure that all user roles are reviewed, and limit permissions as necessary to prevent unauthorized access. Regularly audit your CMS for any suspicious activity. You've got this! Follow these steps, and you'll be on your way to securing your CMS in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00873 · 58.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-12-01T21:48Z
EPSS history
Timeline
  • 01 DEC 21:48Z
    October CMS safe mode bypass using Twig sandbox escape
    cvelistv5