Vulnerability · Published Oct 13, 2022 · Assigned by GitHub_M
CVE-2022-35944October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
Medium 6.2
In plain English
A medium-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 1.1% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
October is a self-hosted Content Management System (CMS) platform based on the Laravel PHP Framework. This 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. The issue has been patched in versions 2.2.34 and 3.0.66.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | october/system | 2.2.34 | GHSA-x4q7-m6fp-4v9v |
| Packagist | october/system | 3.0.66 | GHSA-x4q7-m6fp-4v9v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | >= 3.0.0, < 3.0.66< 2.2.34 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L