Theoretically Possible To Practical Account Takeover

Hey InfoSec Community,

This one is the last account takeover I found and wanted to share about it. It was a good chain of IDOR with some recon and understanding of the application.

So it was a crypto mining web app and developed by a Russian solo developer. At first glance, the app seems very secure because the crypto withdrawal process was not a single-step process. They were verifying the person’s identity also.

So I straight tried to test account takeover even though the impact was just knowing the amount of crypto assets victims have.

  1. Created two accounts with email and noted the primary key of both accounts which was UUID.
  2. Went to the reset password function and entered the email id and got the reset password link which kind of looked like this

3. Looking at the link first thought was like this looks vulnerable. And you know the rest what I will try :P

I replaced user primary key to victim primary key



POST /changePassword/62c4ffb0-be57-11e8-a68e-8d01686939c8/378fce7754fcdadebb6de5d778753c9916ffed192c942756b45bfeabd4e856f00799a6db002a292eb5cfe007208cc7b1 HTTP/1.1

Request Body


Response to this request was 200 and I was able to take over the account of any user. But any user is a false claim. Because I don’t know the victim’s email id or UUID primary key. So its theoretically possible attack and my test account were attacking each other.

So Next part was to figure out how to get UUID. I understood the applications and there was referral functionality and the link looked like this


So now we have a source referral parameter belonging to the victim. But it doesn’t leak UUID. I found another endpoint that takes the source referral parameter.


And see now I have victim UUID.
So with google dorks, I was able to get as many as source parameters of any user and get the UUID. And takeover any user account on the applications.

4. Next I just need to use my account to get the reset password token and use victim UUID in the reset password link. That’s how I was able to take over the victim account.

So That’s quick write up on the theoretically possible to practical account takeover.

Rewarded fraction of ETH.

I am looking for an opportunity specific to infosec roles. I have two years of back end development experience and one-year pen testing experience also.

Reach out to me on twitter ->


lone warrior