CVE-2020-5296 Arbitrary File Deletion vulnerability in OctoberCMS

Medium 6.2 Published Updated

Authenticated backend users with asset management permissions can delete 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-5296?

CVE-2020-5296 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 delete arbitrary 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).

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2020-5296?

2 open source packages ship an affected version, including october/cms. It affects 1 product.

PackageAffectedFixed in
october/cms PackagistFrom 1.0.3191.0.466
october/cms PackagistFrom 1.0.3191.0.466

Products include Octobercms October.

How do I fix CVE-2020-5296?

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-5296 being exploited?

There is no known exploitation of CVE-2020-5296 in the wild and no public exploit code.

All Octobercms October vulnerabilities

Sources

Also known as GHSA-jv6v-fvvx-4932.

Is CVE-2020-5296 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free