HexBrain

Automattic · Report #950881

IDOR when editing email leads to Account Takeover on Atavist

Validstatus
criticalseverity
50upvotes
18 Nov 2020disclosed

How it was found

Summary:

Hi team, I created an account on Atavist and checked my settings page. I can change my email at https://magazine.atavist.com/cms/reader/account with this request :

{F936117}

And as you can see, there is a id parameter on request data. It's our user ID, and it's vulnerable for IDOR. So we can change any user's email address.

Also user IDs are sequential so an attacker can change all accounts' email.

Steps To Reproduce:

1.Go to https://magazine.atavist.com/login and Login to your account

  1. Go to https://magazine.atavist.com/cms/reader/account and open your proxy program
  2. Change the email and click Save
  3. In request, change the ID to your test account's ID
  4. Forward the request
  5. Now you can reset victim's password via https://magazine.atavist.com/forgot

Impact

Account Takeover without user interaction

Thanks, Bugra

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