Vulnerability · Published Dec 1, 2023 · Assigned by GitHub_M

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

Critical 9.1

In plain English

A critical-severity code injection in october from octobercms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistoctober/system3.4.15GHSA-p8q3-h652-65vx

Affected products (as reported)

VendorProductVersions
octobercms october >= 3.0.0, < 3.4.15

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References