Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CVE-2022-24800
Summary
October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Versions prior to 1.0.476, 1.1.x prior to 1.1.12, 2.0.x prior to 2.2.15, and 3.0.x prior to 3.0.12, when the developer allows the user to specify their own filename in the `fromData` method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory. This vulnerability affects plugins that expose the `October\Rain\Database\Attach\File::fromData` as a public interface and does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.
- HIGH
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-362 - Race Condition
A race condition occurs in a shared memory program when two threads/processes access the same shared memory data, and at least one thread executes a write operation. This vulnerability manipulates the time to check vs. time to use (TOC/TOU) gap between the threads in the critical section to cause disorientation in the shared data. The impact can vary from compromising the confidentiality of the system to causing the system to crash or to execute arbitrary code.
References
Advisory Timeline
- Published