Skip to content

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

CriticalCVSS 9.1 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
october/system(Packagist) >= 3.0.0, < 3.4.15 3.4.15 Fixed
octobercms october = >= 3.0.0, < 3.4.15; >= 3.0.0, < 3.4.15 3.4.15 Fixed

Affected products

ProductAffected versionsFixed in
october/system(Packagist) >= 3.0.0, < 3.4.15 3.4.15
octobercms october = >= 3.0.0, < 3.4.15 No fix listed
octobercms october >= 3.0.0, < 3.4.15 3.4.15

References