{"id":"CVE-2023-44382","state":"PUBLISHED","title":"October CMS safe mode bypass using Twig sandbox escape","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.","publishedAt":"2023-12-01T21:48:41.764Z","updatedAt":"2024-08-02T20:07:33.274Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["octobercms october"],"affected":[{"vendor":"octobercms","product":"october","versions":[{"version":">= 3.0.0, < 3.4.15","status":"affected"}]}],"references":["https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/44xxx/CVE-2023-44382.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-44382","state":"PUBLISHED","datePublished":"2023-12-01T21:48:41.764Z","dateUpdated":"2024-08-02T20:07:33.274Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-09-28T17:56:32.612Z"},"containers":{"cna":{"title":"October CMS safe mode bypass using Twig sandbox escape","descriptions":[{"lang":"en","value":"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":[{"vendor":"octobercms","product":"october","versions":[{"version":">= 3.0.0, < 3.4.15","status":"affected"}]}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx","name":"https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-01T21:48:41.764Z"},"source":{"advisory":"GHSA-p8q3-h652-65vx","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx","name":"https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:07:33.274Z"}}]}}}