IDOR in session cookie leading to Mass Account Takeover
The session cookie contained a numeric identifier that was not tied to the authenticated user, allowing an attacker to change it and impersonate other accounts. This could lead to mass account takeover.
Published on zonduu.medium.com
If you are familiar with what IDOR is, you will know that it can be anywhere from url, request body, GET or POST requests and yes, in cookies too..
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
A valid session cookie
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 write-up has not been written yet. The Original tab links to the source.
A session cookie is a small piece of data a website stores in your browser to remember who you are after you log in. Here, the cookie included a number that identified the session, but the server did not check that the number belonged to the logged-in user. By changing that number, an attacker could pretend to be someone else.
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.