Formula Injection
Summary
Formula Injection allows an attacker to inject malicious formulas into CSV files, leading to potential data manipulation, unauthorized access, or remote code execution.
Testing methodology
Description
Formula Injection is a vulnerability that arises when an attacker can inject malicious formulas into spradsheet files like CSV. When these files are opened or processed by spreadsheet software, such as Microsoft Excel, the formulas can be automatically executed, leading to potential data manipulation, unauthorized access to sensitive information, or even remote code execution on the victim's machine.
Remediations
- Ensure that user-supplied input is properly validated and sanitized before being included in spreadsheet files.
- Avoid including formulas or dynamic content directly in spreadsheet files.
Usually follows
Usually precedes
Affected components
- Client Side