vendor:
Prestashop
by:
Mirabbas Agalarov
5.5
CVSS
MEDIUM
CSV injection
93
CWE
Product Name: Prestashop
Affected Version From: 8.0.4
Affected Version To: 8.0.4
Patch Exists: NO
Related CWE:
CPE: a:prestashop:prestashop:8.0.4
Platforms Tested: Windows
2023
Prestashop 8.0.4 – CSV injection
This exploit allows an attacker to inject malicious formulas into a CSV file, which can then be executed when opened by a user. In this case, the exploit is triggered when an admin exports customers as a CSV file and opens it on their computer. The payload used in this exploit is '=calc|a!z|@test.com', which opens the calculator on the admin's computer.
Mitigation:
To mitigate this vulnerability, the application should sanitize user input before generating CSV files. Additionally, users should exercise caution when opening CSV files from untrusted sources.