Skip to content

Reflected XSS when importing CSV in OctoberCMS

Moderate severity GitHub Reviewed Published Jun 2, 2020 in octobercms/october • Updated Jan 27, 2023

Package

composer october/backend (Composer)

Affected versions

>= 1.0.319, < 1.0.466

Patched versions

1.0.466

Description

Impact

A user with the ability to use the import functionality of the ImportExportController behavior could be socially engineered by an attacker to upload a maliciously crafted CSV file which could result in a reflected XSS attack on the user in question

Patches

Issue has been patched in Build 466 (v1.0.466).

Workarounds

Apply octobercms/october@cd0b6a7 to your installation manually if unable to upgrade to Build 466.

References

Reported by Sivanesh Ashok

For more information

If you have any questions or comments about this advisory:

Threat assessment:

Screen Shot 2020-03-31 at 2 01 52 PM

### References - https://github.com/octobercms/october/security/advisories/GHSA-gg6x-xx78-448c - https://github.com/octobercms/october/commit/cd0b6a791f995d86071a024464c1702efc50f46c - https://nvd.nist.gov/vuln/detail/CVE-2020-5298 - http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html - http://seclists.org/fulldisclosure/2020/Aug/2
@LukeTowers LukeTowers published to octobercms/october Jun 2, 2020
Reviewed Jun 3, 2020
Published to the GitHub Advisory Database Jun 3, 2020
Published by the National Vulnerability Database Jun 3, 2020
Last updated Jan 27, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS score

0.338%
(72nd percentile)

CVE ID

CVE-2020-5298

GHSA ID

GHSA-gg6x-xx78-448c

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.