Skip to content
CVE PROGRAM SOURCE RECORD6.2 Medium

CVE-2022-35944

October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

octobercms october

  • >= 3.0.0, < 3.0.66affected
  • < 2.2.34affected

References