CSV Injection in polldaddy.com
A user could enter spreadsheet formulas into member fields of an email group, and when the group was exported to CSV and opened in a spreadsheet program, those formulas were evaluated. An attacker could use this to spread malware or execute system-level commands on a victim's machine if the victim downloaded and opened the CSV file.
- Fixed in 17 days
- Paid in 17 days
- Disclosed after 47 days
Hello,
We can inject commands in any fields of a member in an email group (=2*10 for example), and when it's exported to CSV it will be evaluated to 20 in the corresponding cell, this enables an attacker to spread malware and execute system level commands on a victim's machine if the victim downloaded the CSV file.
Steps to reproduce: 1- Create an email group and name it anything. 2- Add a member with =210 in their firstname, lastname, and custom data. 3- Export as CSV and open in Excel or any similar program, the evaluated value will replace the =210 expression.
References: Report #90415 was about the same issue.
Thanks,
strukt
Attachments


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
Root cause
Likely the application did not neutralise spreadsheet formula characters in user-supplied fields before exporting them to CSV.
Impact
An attacker could spread malware and execute system-level commands on a victim's machine if the victim downloaded and opened the CSV file.
What the attacker needed
Ability to create an email group and add members; victim downloads and opens the exported CSV
How it was found
- Create an email group and give it any name.
- Add a member whose first name, last name, and custom data contain a spreadsheet formula such as =2*10.
- Export the group as CSV and open the file in Excel or a similar program; the formula is evaluated.
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.
When you type something like =2*10 into a spreadsheet, the program treats it as a formula and calculates the result. Here, the website saved that text without checking it, and when the data was exported to a CSV file and opened in Excel, Excel ran the formula. An attacker could put a harmful formula in a name field so that anyone who opens the exported file might run malicious code.