{"id":"CVE-2020-5299","state":"PUBLISHED","title":"Potential CSV Injection vector in OctoberCMS","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).","publishedAt":"2020-06-03T22:00:18.000Z","updatedAt":"2024-08-04T08:22:09.179Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["octobercms october"],"affected":[{"vendor":"octobercms","product":"october","versions":[{"version":">= 1.0.319, < 1.0.466","status":"affected"}]}],"references":["https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q","https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a","https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484","http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html","http://seclists.org/fulldisclosure/2020/Aug/2"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T19:47:35.543Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/5xxx/CVE-2020-5299.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-5299","state":"PUBLISHED","datePublished":"2020-06-03T22:00:18.000Z","dateUpdated":"2024-08-04T08:22:09.179Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-01-02T00:00:00.000Z"},"containers":{"cna":{"title":"Potential CSV Injection vector in OctoberCMS","descriptions":[{"lang":"en","value":"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":[{"vendor":"octobercms","product":"october","versions":[{"version":">= 1.0.319, < 1.0.466","status":"affected"}]}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a","tags":["x_refsource_MISC"]},{"url":"https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2020/Aug/2","name":"20200804 October CMS <= Build 465 Multiple Vulnerabilities - Arbitrary File Read","tags":["mailing-list","x_refsource_FULLDISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-08-04T11:06:07.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-4rhm-m2fp-hx7q","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5299","STATE":"PUBLIC","TITLE":"Potential CSV Injection vector in OctoberCMS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"october","version":{"version_data":[{"version_value":">= 1.0.319, < 1.0.466"}]}}]},"vendor_name":"octobercms"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q","refsource":"CONFIRM","url":"https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q"},{"name":"https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a","refsource":"MISC","url":"https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a"},{"name":"https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484","refsource":"MISC","url":"https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484"},{"name":"http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html"},{"name":"20200804 October CMS <= Build 465 Multiple Vulnerabilities - Arbitrary File Read","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2020/Aug/2"}]},"source":{"advisory":"GHSA-4rhm-m2fp-hx7q","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2020/Aug/2","name":"20200804 October CMS <= Build 465 Multiple Vulnerabilities - Arbitrary File Read","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T08:22:09.179Z"}}]}}}