{"id":"CVE-2022-35944","aliases":[],"url":"https://o3.security/vulnerability/CVE-2022-35944","summary":"October CMS Safe Mode bypass leads to authenticated Remote Code Execution","details":"### Impact\n\nThis vulnerability only affects installations that rely on the safe mode restriction, commonly used when providing public access to the admin panel. Assuming an attacker has access to the admin panel and permission to open the \"Editor\" section, they can bypass the Safe Mode (`cms.safe_mode`) restriction to introduce new PHP code in a CMS template using a specially crafted request.\n\n### Patches\n\nThe issue has been patched in v2.2.34 and v3.0.66\n\n### References\n\nCredits to:\n\n-  David Miller\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Email us at [hello@octobercms.com](mailto:hello@octobercms.com)\n","published":"2022-10-13T19:11:08Z","modified":"2023-11-08T04:09:53.773290Z","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00922,"percentile":0.5714,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"october/system","fixedVersion":"2.2.34"},{"ecosystem":"Packagist","name":"october/system","fixedVersion":"3.0.66"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35944"},{"type":"PACKAGE","url":"https://github.com/octobercms/october"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:09:53.773290Z"}}