IDOR when editing email leads to Account Takeover on Atavist
The account settings endpoint accepted a user ID parameter that was not checked against the logged-in user, so an attacker could change any user's email address. Because user IDs were sequential, an attacker could change every account's email and then reset the victim's password to take over the account.
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
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 :

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
- Go to https://magazine.atavist.com/cms/reader/account and open your proxy program
- Change the email and click
Save - In request, change the ID to your test account's ID
- Forward the request
- Now you can reset victim's password via https://magazine.atavist.com/forgot
Impact
Account Takeover without user interaction
Thanks, Bugra
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 server used the user-supplied id parameter to decide which account to update instead of using the authenticated session's own user ID.
Impact
An attacker could take over any account without user interaction by changing the email and then resetting the password.
What the attacker needed
A free account; victim's user ID (sequential)
How it was found
- Log in to the Atavist site.
- Open the account settings page with a proxy tool running.
- Change the email field and click Save.
- In the captured request, replace the id value with the test account's ID.
- Forward the request.
- Reset the victim's password via the forgot password page.
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 save your email on a website, the site usually sends a hidden number that identifies your account. Here the site trusted whatever number the browser sent, so a logged-in user could put someone else's number and change that person's email. Once the email is changed, the attacker can use the 'forgot password' page to receive the reset link and take over the account.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.