Vulnerability · Published Jun 3, 2020 · Assigned by GitHub_M
CVE-2020-5299Potential CSV Injection vector in OctoberCMS
Medium 4.0
In plain English
A medium-severity command injection in october from octobercms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | october/backend | 1.0.466 | GHSA-4rhm-m2fp-hx7q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | >= 1.0.319, < 1.0.466 |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q x_refsource_CONFIRM
- https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a x_refsource_MISC
- https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484 x_refsource_MISC
- http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html x_refsource_MISC
- 20200804 October CMS <= Build 465 Multiple Vulnerabilities - Arbitrary File Read mailing-list, x_refsource_FULLDISC