Semrush · Report #459532
Persistent CSV injection
How it was found
Hi Team,
https://www.semrush.com/notes is vulnerable to persistent csv injection (stored csv injection)
POC:
-
Login into application and open https://www.semrush.com/notes
-
click on "Add note" button
-
And enter csv injection payloads like =4+4, =HYPERLINK("http://evil.com", "EVIL") and click on save
-
and click on "Export to CSV"
-
Open the downloaded csv file
-
Observe the payload you entered in the above step
Reference: https://payatu.com/csv-injection-basic-to-exploit/
Impact
Attacker can execute kernel/OS level commands from victims machine.
As it is stored at database, so users across SEMrush who ever downloads that csv file will be victims for the attacker.
Also attacker can use victims to perform DDOS attack from victims machines.