Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Confirm linking accounts elsewhere #4577

Closed
wants to merge 2 commits into from
Closed

Conversation

chadwhitacre
Copy link
Contributor

@chadwhitacre chadwhitacre commented Aug 18, 2017

It's possible in convoluted circumstances for attackers to trick participants into linking an account elsewhere belonging to the attacker, to the participant's Gratipay account. We should protect against this by adding an additional confirmation step, as Phabricator does:

phabricator

Fix for https://hackerone.com/reports/170684.

@chadwhitacre
Copy link
Contributor Author

We already have a confirm page for merging accounts. We want to add another confirm page before that one.

@chadwhitacre
Copy link
Contributor Author

We have two actions, opt-in and connect. What's the difference?

@chadwhitacre
Copy link
Contributor Author

opt-in is initial sign-in, connect is adding another account once you're already signed in. We certainly need the additional confirmation in the connect case. Do we also need it in the opt-in case?

@chadwhitacre
Copy link
Contributor Author

Yes. Creating a new account with a malicious elsewhere attached is no better than linking a malicious elsewhere to an existing account.

@chadwhitacre
Copy link
Contributor Author

Let's see if we can stick with ./associate as the callback to avoid having to update at all providers.

@chadwhitacre
Copy link
Contributor Author

chadwhitacre commented Nov 10, 2017

Closing per gratipay/inside.gratipay.com#1196.

@chadwhitacre chadwhitacre deleted the confirm-connect branch November 10, 2017 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant