IDOR to Partial Access and ACCOUNT TAKEOVER in a Top 5 Cloud Stor
A user ID parameter in the desktop application download link was predictable and not checked, so changing it logged the attacker into another user's account with partial access. The attacker could then retrieve a key file and brute-force the last four digits of the victim's card to reset their password and take over the account.
This is my first write-up, so let’s make it count. During routine testing, I discovered an IDOR vulnerability in a top-tier cloud storage platform.
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
Impact
An attacker could gain partial access to any user's account, disclose their email, and potentially escalate to full account takeover by resetting the password.
What the attacker needed
Desktop application installed; victim's user ID known or guessable; victim's user.key file accessible
How it was found
- Create two test accounts, one attacker and one victim.
- Download and install the desktop application, swapping the userid parameter to the victim's ID.
- Observe that the application logs in as the victim without asking for credentials.
- Obtain the victim's userid by inviting them to a group, removing them, and intercepting the request.
- Download the user.key file from the victim's account.
- Brute-force the last four digits of the victim's credit card to reset their password.
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.
An IDOR is when a website or app uses a simple identifier, like a user ID, to decide whose data to show, but does not check that the person asking is allowed to see it. Here, the download link contained a guessable user ID, and swapping it let the attacker into someone else's account. The attacker could then get a key file and guess the last four digits of the victim's card to reset their password.
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.