Hunting Formula Injection In Exports

Hunt formula injection, also called CSV injection, where an untrusted field stored by the application is later written into an exported CSV, TSV, or spreadsheet and a spreadsheet program evaluates it as a formula when a victim opens the file. A cell whose first character is an equals, plus, minus, or at sign, or a tab or carriage-return prefix, is treated as a formula, so a stored value can call a data connection or hyperlink to exfiltrate other cells, trigger a legacy dynamic-data command that runs a program, or spoof content the recipient trusts. The vulnerable step is the export, not the page that stored the value, and the victim is whoever opens the download. Use when the app exports user-controlled data to a spreadsheet format. The stored untrusted field is the source, the exported cell a spreadsheet evaluates is the sink, and formula execution in the recipient's client is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-formula-injection-in-exports commit cbef51f027

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-formula-injection-in-exports