Skip to content
IDOR Write-up Intermediate

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.

Zonduhackerone Follow

Published on zonduu.medium.com

Bounty$2,000 View original

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..

Zonduhackerone, on zonduu.medium.com

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.

More by Zonduhackerone

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.