SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Stealing deleted accounts/idenities

Open diaspora-redmine-github-migration opened this issue 15 years ago • 6 comments

Issue 364 from bugs.joindiaspora.com Created by: archi On Thu Oct 14 18:56:18 2010

Priority: Normal Status: Confirmed

Hi, after deleting an account I was able to re-register it without any obstacles. This is not a good idea, because in a production environment everybody could steal the identy of the user who deleted his account and just invite that users old friends with a "sorry, I deleted my account, but decided I want it back"

Steps to reproduce:

  1. Create account
  2. Delete Account
  3. Recreate Account

What happes: I get an account with the same ID as the old one

What do I expect: Error, telling me that I used an old ID, which is locked to prevent identitytheft. It has to be unlocked prior to use. This could be achieved by saving the old password or even email (we could ask the user if he agrees to this) and then have the reregistrant either enter the password or we send an email to the old user, if he wants to get his old ID back.

We could let the user decide wether he wants to lock it down or not. And wether he wants his password and/or email to be remembered, so he can reclaim his accountname if he feels like it.

From I privacy point of view I figure the solution "safe old password or maybe even email" way better than identitytheft by reregistering a vacant ID. And, for the record: I do NOT want any personal data to be saved - if a user deletes his account, his images, friends, comments,... are all to be deleted from the node ;-)

To reduce the information stored about old accounts, only a SHA Hash of the ID could be saved in the database (I do not believe it is necessary, but it wouldn't hurt - and privacy is a topic where we are better off safe than sorry^^)

What do you think?

Sebastian

Comment by: Wavesonics On Thu Oct 14 19:01:19 2010

Completely agree.

Comment by: Hexagon On Thu Oct 14 19:12:21 2010

I agree, and confirm it's an issue.

What about just keeping the data (all of it?) for about 3 months?

This would give the user the possibility to change his mind and would make social engineering yourself back into the others aspects much harder.

I don't like the idea of permanently reserving IDs and storing any kind of user data forever after the user "deleted" his account.

fkm avatar Jul 13 '11 20:07 fkm

Maybe leave the decision to the pod admin? Just provide him with a config variable for how many months to keep the old account, with 0 for forever.

It probably also needs to be visible to the user, at the very least on the account deletion page.

ghost avatar Jul 17 '11 14:07 ghost

I agree it's an issue, and storing the IDs is less risky IMHO than not doing so and allowing identity theft.

norv avatar Sep 06 '11 12:09 norv

this issue has been resolved and is fixed in master.

danielgrippi avatar Jan 09 '12 07:01 danielgrippi