Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/cms
  4. ›
  5. CVE-2020-5295

CVE-2020-5295: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

June 3, 2020 (updated March 4, 2021)

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).

References

  • packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html
  • seclists.org/fulldisclosure/2020/Aug/2
  • github.com/advisories/GHSA-r23f-c2j5-rx2f
  • github.com/octobercms/october/commit/2b8939cc8b5b6fe81e093fe2c9f883ada4e3c8cc
  • github.com/octobercms/october/security/advisories/GHSA-r23f-c2j5-rx2f
  • nvd.nist.gov/vuln/detail/CVE-2020-5295

Code Behaviors & Features

Detect and mitigate CVE-2020-5295 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.319 before 1.0.466

Fixed versions

  • 1.0.466

Solution

Upgrade to version 1.0.466 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Source file

packagist/october/cms/CVE-2020-5295.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.