Weblate · Report #224291
CSV Injection with the CVS export feature - Glossary
Validstatus
lowseverity
4upvotes
17 May 2017disclosed
How it was found
Hi,
The "Download as a CSV" feature of Weblate does not properly "escape" fields. Here is more information about this issue: http://www.contextis.com/resources/blog/comma-separated-vulnerabilities/
Here is one method to reproduce this issue:
- I can add new information in Glossary with a name starting with "=1+1;" or "-2+3+cmd|' /C calc'!G2;"
- I choose to export all Glossary to CSV containing the issue in (1)
- I now open this CSV file in excel or another spreadsheet program
- You can see the cell containing the issue name in (1) is displayed as "2" (=1+1;) which means the code is executed.