CVE-2022-35944 October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
HighCVSS 7.2
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPLaravel
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| october/system(Packagist) | >= 2.0.0, < 2.2.34; >= 3.0.0, < 3.0.66 | 2.2.34, 3.0.66 | Fixed |
| octobercms october | < 2.2.34; = < 2.2.34; = >= 3.0.0, < 3.0.66; >= 3.0.00, < 3.0.66 | 2.2.34, 3.0.66 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| october/system(Packagist) | >= 3.0.0, < 3.0.66 | 3.0.66 |
| october/system(Packagist) | >= 2.0.0, < 2.2.34 | 2.2.34 |
| octobercms october | = >= 3.0.0, < 3.0.66 | No fix listed |
| octobercms october | = < 2.2.34 | No fix listed |
| octobercms october | < 2.2.34 | 2.2.34 |
| octobercms october | >= 3.0.00, < 3.0.66 | 3.0.66 |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product