CRITICAL🇵🇱 Wersja polska

CVE-2023-44382

CVSS 9.1v3.1pub. 2023-12-01upd. 2024-11-21

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.

🤖 AI Analysis
How it works

The mechanism relies on an attacker creating specially crafted Twig code that is able to bypass the Twig template engine sandbox restrictions. Although the `cms.safe_mode` mode is intended to prevent direct PHP execution by CMS editors, a properly constructed Twig payload allows breaking out of the imposed limitations and executing arbitrary PHP code in the server context. The vulnerability is classified as CWE-94, which is improper control of generation of code.

Impact

An attacker can execute arbitrary PHP code on the server, which in practice means complete takeover of the application and server control, including data theft, content modification, and potential access to other systems on the network.

Mitigation & patch

October CMS should be updated to version 3.4.15 or newer, where the vulnerability has been patched. As an additional remedial measure, it is worth verifying and restricting the granting of editorial permissions to trusted users.

Who is affected

October CMS in versions before 3.4.15 — affects instances where users have `editor.cms_pages`, `editor.cms_layouts` or `editor.cms_partials` permissions

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Octobercms October

    APP
    Octobercms
    3.0.0 – 3.4.15 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2021-3311CRITICAL9.8PL ✓same product

October CMS: reaktywacja wygasłej sesji po ponownym logowaniu

CVE-2017-1000197CRITICAL9.8PL ✓same product

October CMS – manipulacja ścieżką pliku w funkcji przenoszenia zasobów

CVE-2017-1000196CRITICAL9.8PL ✓same product

October CMS — zdalne wykonanie kodu PHP w menedżerze plików

CVE-2017-1000194CRITICAL9.8PL ✓same product

October CMS: modyfikacja konfiguracji Apache przez niebezpieczny upload pliku

CVE-2021-32648HIGH8.2⚠ KEVsame product

octobercms in a CMS platform based on the Laravel PHP Framework. In affected versions of the october/system pa...