CVE-2022-24800
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.5% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.5% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Modified
Affected
- Octobercms October < 1.0.476
- Octobercms October < 1.1.12
- Octobercms October < 2.2.15
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-24800.md and follow it. Check whether this project is affected by CVE-2022-24800. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83
- https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp
- https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83
- https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp
References
- https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83
- https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp
- https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83
- https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp