Vulnerability · Published Jul 12, 2022 · Assigned by GitHub_M
CVE-2022-24800Race Condition in October CMS upload process
High 8.1
In plain English
A high-severity race condition 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.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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, 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. The issue has been patched in Build 476 (v1.0.476), v1.1.12, and v2.2.15. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | october/system | 1.0.476 | GHSA-8v7h-cpc2-r8jp |
| Packagist | october/system | 1.1.12 | GHSA-8v7h-cpc2-r8jp |
| Packagist | october/system | 2.2.15 | GHSA-8v7h-cpc2-r8jp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 1.0.476>= 1.1.0, < 1.1.12>= 2.0.0, < 2.2.15 |
Weakness: CWE-362 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H