Skip to content
Account takeover Disclosed report Intermediate

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

A closed account could still be accessed by using a previously issued, unused password reset token, because closing the account did not invalidate outstanding reset tokens. An attacker who held such a token could log back into the closed account and perform some actions, though many features returned server errors.

need_new_username_103 Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 10 days
  • Paid in 10 days
  • Disclosed after 40 days

Summary by the researcher

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

The report

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

Attachments

500_internal_servar_error.png
500_internal_servar_error.png From the original on HackerOne
account_view.png
account_view.png

The original report as published on HackerOne, by need_new_username_103. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the account-closure routine did not expire or revoke outstanding password reset tokens, so a token issued before closure remained valid afterwards.

Impact

A holder of an unused reset token could regain access to a closed account and perform some actions such as editing photos, adding friends and sending invites, though reviews, messages and talks failed with server errors.

What the attacker needed

An unused password reset token; the account is then closed

How it was found

  1. Request a new password reset token from the forgot password page and do not use it.
  2. Have the account closed (the author does not know what triggers closure).
  3. Open the reset password email and go to the change password page.
  4. Enter the new password twice, which logs you into the profile.
  5. Some actions then fail with server errors, such as opening the email page, writing a review, or editing the profile.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you forget your password, the site emails you a special link that lets you set a new one. This report says that if the account is later closed, that old link still works, so someone holding it can get back into the closed account. The fix is to cancel all such links when an account is closed.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from Yelp

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.