Learn about CVE-2022-24800, a high-severity vulnerability in October CMS allowing remote code execution by exploiting a race condition. Find out the impacted versions and mitigation steps.
October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Prior to versions 1.0.476, 1.1.12, and 2.2.15, an unauthenticated user could exploit a race condition in the temporary storage directory to perform remote code execution (RCE) by specifying their own filename in the
fromData
method. This vulnerability affects plugins exposing October\Rain\Database\Attach\File::fromData
as a public interface.
Understanding CVE-2022-24800
This CVE involves a race condition vulnerability in the upload process of October CMS.
What is CVE-2022-24800?
CVE-2022-24800 is a vulnerability in October CMS that allowed unauthenticated users to execute remote code by exploiting a race condition when specifying filenames.
The Impact of CVE-2022-24800
The vulnerability had a high CVSS base score of 8.1, posing a high risk due to its potential for remote code execution and impact on confidentiality, integrity, and availability.
Technical Details of CVE-2022-24800
The following technical aspects are associated with CVE-2022-24800:
Vulnerability Description
The vulnerability stemmed from a race condition in the temporary storage directory, allowing unauthenticated users to execute remote code.
Affected Systems and Versions
Versions prior to 1.0.476, 1.1.12, and 2.2.15 of October CMS were affected by this vulnerability, particularly when using the
fromData
method.
Exploitation Mechanism
Exploitation involved allowing users to specify their own filename in the vulnerable method, which could lead to the execution of arbitrary remote code.
Mitigation and Prevention
To address CVE-2022-24800, consider the following mitigation strategies:
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates
Ensure timely installation of security patches provided by October CMS to mitigate the risk of potential vulnerabilities.