Coinbase · Report #10829
CSRF in function "Set as primary" on accounts page
How it was found
I would like to report this CSRF vulnerability in coinbase on function "set as primary" for a account in accounts page.
Steps:
- Login to your coinbase account (which atleast has two accounts)
- Go to "accounts" page and out of the two accounts click "set as primary" link for one of the accounts which is not primary.
- Capturing the request in proxy, you will find that there are no anti CSRF token used for this function.
Issue: Attacker simply send a link of a page to the victim with a iframe running something like this "https://coinbase.com/accounts/535e52d301c95bda2100005b/set_as_primary". When the victim will click the link of coinbase will get executed in the back without victims consent.
NOTE: In the POC video attached, i have tried to show that for the delete account function there is an "authenticity token" sent but for set as primary function there is no token used, which might cause a CSRF on this.