Skip to content
Account takeover Disclosed report Intermediate

Account TakeOver: Attackers can take-over coming accounts from app.withpersona.com

An attacker could pre-emptively take over a victim's email address by changing their own account email to the victim's, preventing the victim from signing up. The attacker could then use an old password reset link to take over the victim's account even after the victim recovered it.

7h3h4ckv157 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Accepted in 5 days
  • Disclosed after 13 months

Summary by 7h3h4ckv157

  • Create an Account --> Verify your mail
  • Change your mail to victim's mail address --> Pre-Account TakeOver, Victim's mail saved in your verified account
  • When Victim try to signup with their mail, they can't. Reason: Attacker TakeOvered victim's address already (Message: Sorry, this email address is already taken. Please try with a different email.)
  • Even if the victim took back his/her account by forgot password method, Attacker can takeover the same by using previous unused forgot password link (Exploit Link)

Attack Steps

1: Attacker must create an account: https://app.withpersona.com/dashboard/register using any business-mail (Here I used temp mail for testing)

2: After creating & verifying the account, the Attacker need to logout and request for a password reset link

NOTE: Let's assume this password reset link asexploit link, The exploit link must not open, it'll be used for later exploitation

3: After requesting & getting the reset link, the attacker need to login to his own account using his credentials without opening the exploit link.

4: After that, the attacker conduct a PRE Account TakeOver by simply changing his mail to victim's address

5: The Attacker successfully done Pre-Account-Takeover. The victim's mail is settled on attacker's confirmed account without victim's knowledge

Real Issue

6: While the victim try to create an account in app.withpersona.com now or in future, this message will appears: Sorry, this email address is already taken. Please try with a different email.

7: Victim can simply use reset password function to set a new password and take back the account

8: Victim successfully logged-In to their account!

9: The logged victim's current account can be take over by the attacker anytime using the exploit link

--> Attacker can change password of the victim's account without authorization and takeover the account for further malicious activities Impact

Improper Access Control leads to full Account-TakeOver

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

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 application does not invalidate password reset tokens after they are used or after the email address is changed, and it allows changing the account email to an unverified address without proper verification.

Impact

An attacker could take over a victim's account and change their password without authorization, leading to full account takeover.

What the attacker needed

Attacker creates an account; attacker requests a password reset link; victim's email address is known

How it was found

  1. Create an account using any business email and verify it.
  2. Log out and request a password reset link, but do not open it.
  3. Log back in with your own credentials.
  4. Change the account email to the victim's email address.
  5. The victim cannot sign up because their email is already taken.
  6. The victim resets their password and logs in, but the attacker can still use the old reset link to take over the account.

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.

This report shows a way to steal someone's account by first claiming their email address on a website. The attacker creates an account, changes its email to the victim's, and later uses a saved password reset link to get in. The victim is locked out or can be taken over again.

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 by 7h3h4ckv157

View all

9 more disclosed reports, best first.

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.