CVE-2020-5295 Local File read vulnerability in OctoberCMS
Authenticated backend users with asset management permissions can read arbitrary local files on the OctoberCMS server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-5295?
CVE-2020-5295 is a medium-severity path traversal vulnerability in Octobercms October, published on 3 Jun 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, an attacker can exploit this vulnerability to read local files of an October CMS server. The vulnerability is only exploitable by an authenticated backend user with the `cms.manage_assets` permission. Issue has been patched in Build 466 (v1.0.466).
Which versions are affected by CVE-2020-5295?
2 open source packages ship an affected version, including october/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
october/cms Packagist | From 1.0.319 | 1.0.466 |
october/cms Packagist | From 1.0.319 | 1.0.466 |
Products include Octobercms October.
How do I fix CVE-2020-5295?
Upgrade october/cms to 1.0.466 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-5295 being exploited?
There is no known exploitation of CVE-2020-5295 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Octobercms October
Sources
Also known as GHSA-r23f-c2j5-rx2f.