Skip to content
Disclosed report Beginner CVE-2023-2629

Embedding untrusted input inside CSV files leads to Formula Injection/CSV Injection

The Pimcore application did not sanitise user-supplied address fields before embedding them in CSV exports, allowing formula injection. An attacker could craft a CSV that, when opened in a spreadsheet, executes commands or exfiltrates data.

pimcore/customer-data-framework

Originally disclosed on huntr

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/

From the GitHub Advisory Database (GHSA-mq3x-qgwx-3rfw, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Successful exploitation could lead to client-side command injection, code execution, or remote exfiltration of confidential data, though the report does not demonstrate a specific exploit.

What the attacker needed

Victim opens exported CSV in a spreadsheet; attacker can enter data in address fields

The fix

The issue was fixed in version 3.3.9, and a patch is available for manual application.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Spreadsheet programs treat cells starting with certain characters as formulas. If a website puts user input into a CSV file without neutralising those characters, opening the file can run the formula. This report says an attacker could use that to run commands or steal data from the person who opens the file.

More from pimcore/customer-data-framework

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.