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

CVE-2020-5299: Improper Neutralization of Special Elements used in a Command ('Command Injection')

June 3, 2020 (updated March 4, 2021)

In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, any users with the ability to modify any data that could eventually be exported as a CSV file from the ImportExportController could potentially introduce a CSV injection into the data to cause the generated CSV export file to be malicious. This requires attackers to achieve the following before a successful attack can be completed: 1. Have found a vulnerability in the victims spreadsheet software of choice. 2. Control data that would potentially be exported through the ImportExportController by a theoretical victim. 3. Convince the victim to export above data as a CSV and run it in vulnerable spreadsheet software while also bypassing any sanity checks by said software. 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-4rhm-m2fp-hx7q
  • github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a
  • github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484
  • github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q
  • nvd.nist.gov/vuln/detail/CVE-2020-5299

Code Behaviors & Features

Detect and mitigate CVE-2020-5299 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 5.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

packagist/october/backend/CVE-2020-5299.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:24 +0000.