How I Could Access Anyone’s College Subscription — IDOR S
The subscription dashboard used a predictable user identifier (a double SHA-256 hash of the user's email or a hashed numeric ID) in the URL, with no authentication check. An attacker could access any user's subscription details, including email and phone number, and cancel their subscriptions.
So there I was, casually digging around Target’s subscription management system, when I stumbled upon a goldmine of an IDOR vulnerability. This one wasn’t just a minor glitch — it let me access any user’s subscription dashboard, exposing personal details like emails, phone numbers, and even letting me cancel their…
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
Root cause
Likely the application used a predictable, client-supplied identifier in the URL to look up subscriptions without verifying that the requester was the account owner.
Impact
An attacker could view other users' email addresses, phone numbers, and subscription details, and could cancel or modify their subscriptions; a script could scrape many accounts by iterating IDs.
What the attacker needed
Know or guess victim email or ID; no authentication required
How it was found
- Access your own subscription dashboard and note the URL with the u parameter.
- Use WaybackURLs to find other URLs containing the u parameter.
- Determine that the u value is a double SHA-256 hash of the user's email.
- Compute the hash for a target email and open the resulting URL to view their dashboard.
- For accounts using hashed numeric IDs, increment the ID and hash it to access other users' dashboards.
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 website should check that you are allowed to see a page before showing it. Here, the page address contained a code made from the user's email or ID, and anyone who knew or guessed that code could open someone else's subscription page. This is called an insecure direct object reference (IDOR): the site trusts a value in the URL instead of checking who is asking.
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.