HexBrain

Yelp · Report #167489

Bybass The Closing of the account and logged again to your account

Validstatus
34upvotes
21 Oct 2016disclosed

Summary

My Accounts have Been Closed so i was playing around and found this bug that allow me to login again to my account through the unused nonexpired reset password token.as after you reset your password the web app redirect you directly to your profile.

Actions Can be made:

  • Adding photos to biz photos and delete them,edit the caption
  • Adding friends and sending the message you want to add them
  • sending complimant
  • Adding new location
  • sending Email Invites
  • Follow other people

Actions Canot be made:

  • writing reviews
  • sending messages
  • making talks
  • another user canot accept the friend request

How it was found

Hello

Details:

All My accounts have been closed i dnot know the reason so i have played around and manged to bypass this mechanism using the last unused password token

Steps:

  • go to forget password page and get new password reset token and dnot use it
  • go and make anything against the rules lead to close your account [ I dnot know what make it close :D]
  • go to your email and using the reset password email you will go to the change password page
  • Enter the new password two times you will get in in your profile
  • You can edit your privacy and password ,info but when you try to enter your email page the server will respond with 500 internal error
  • if you try to write review the server will respond with 500 internal server error
  • if you try to edit your profile will respond with 500 server error

Fix:

  • when you close the account make sure you expire all reset token associted with it

closed_account_used in test:

███

the closed_accounts:

████,████████
██████

I hope you open it again

Thanks

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original