CVE-2022-24800 Race Condition in October CMS upload process
Unauthenticated attackers can achieve remote code execution via a race condition in file uploads if plugins expose specific methods.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24800?
CVE-2022-24800 is a high-severity vulnerability in Octobercms October, published on 12 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-362
Which versions are affected by CVE-2022-24800?
6 open source packages ship an affected version, including october/system. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
october/system Packagist | All versions | 1.0.476 |
october/system Packagist | All versions | 1.0.476 |
october/system Packagist | From 1.1.0 | 1.1.12 |
october/system Packagist | From 1.1.0 | 1.1.12 |
october/system Packagist | From 2.0.0 | 2.2.15 |
october/system Packagist | From 2.0.0 | 2.2.15 |
Products include Octobercms October.
How do I fix CVE-2022-24800?
Upgrade october/system to a fixed version for your release line: 1.0.476, 1.1.12 or 2.2.15.
Is CVE-2022-24800 being exploited?
There is no known exploitation of CVE-2022-24800 in the wild and no public exploit code.
Other vulnerabilities in Octobercms October
Sources
Also known as GHSA-8v7h-cpc2-r8jp.