pimcore/customer-data-framework · Security
Embedding untrusted input inside CSV files leads to Formula Injection/CSV Injection
- GHSA ID
- GHSA-mq3x-qgwx-3rfw
- CVE ID
- CVE-2023-2629
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
Impact
The pimcore application is vulnerable to Formula Injection/CSV Injection via the Firstname, Lastname, Street, Zip & City input fields. These vulnerabilities allow unauthenticated attackers to execute arbitrary code via a crafted excel file.
Successful exploitation can lead to impacts such as client-sided command injection, code execution, or remote ex-filtration of contained confidential data.
Patches
Update to version 3.3.9 or apply this patch manually https://github.com/pimcore/customer-data-framework/commit/4e0105c3a78d20686a0c010faef27d2297b98803.patch
Workarounds
Apply patch https://github.com/pimcore/customer-data-framework/commit/4e0105c3a78d20686a0c010faef27d2297b98803.patch manually.
References
https://huntr.dev/bounties/821ff465-4754-42d1-9376-813c17f16a01/
CWEs
- CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
References
- https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-mq3x-qgwx-3rfw ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-2629 ↗
- https://github.com/pimcore/customer-data-framework/commit/4e0105c3a78d20686a0c010faef27d2297b98803 ↗
- https://huntr.dev/bounties/821ff465-4754-42d1-9376-813c17f16a01 ↗
- https://github.com/advisories/GHSA-mq3x-qgwx-3rfw ↗