vendor:
dirsearch
by:
Dolev Farhi
7.5
CVSS
HIGH
CSV Injection
897
CWE
Product Name: dirsearch
Affected Version From: 0.4.1
Affected Version To: 0.4.1
Patch Exists: YES
Related CWE: N/A
CPE: a:maurosoria:dirsearch:0.4.1
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Debian 9.13
2021
dirsearch 0.4.1 – CSV Injection
dirsearch, when used with the --csv-report flag, writes the results of crawled endpoints which redirect(, to a csv file without sanitization. A malicious server can redirect all of its routes/paths to a path that contains a comma and formula, e.g. /test,=1336+1, and escape the normal dirsearch CSV structure to inject its own formula.
Mitigation:
Sanitize user input when writing to a CSV file.