Bank offer IDOR Fix Bypassed: How I Accessed Unauthorized Offers and Secured a $10,000 Bounty — @bxmbn
The server accepted any valid access code when paired with a reservation number, so an attacker could use their own access code with another user's reservation number to view that user's offer. This bypassed a previous fix for an IDOR vulnerability.
I discovered a new weakness in the offer retrieval functionality that allows an attacker to access unauthorized offers.
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 server validated the access code and reservation number independently rather than verifying that the access code belonged to that specific reservation.
Impact
An attacker could view any user's offer and related sensitive data, potentially leading to reputational damage, financial loss, or data breaches.
What the attacker needed
A valid reservation number and access code; knowledge of another user's reservation number
How it was found
- Obtain your own reservation number and access code.
- Note that reservation numbers are sequential and enumerable.
- Replace your reservation number with another user's reservation number while keeping your own access code.
- The server grants access to the other user's offer.
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 (Insecure Direct Object Reference) happens when a website lets you access someone else's data just by changing an identifier, like a number, in a request. Here, the reservation number acted like a name tag, and the access code was supposed to be a password, but the server checked them separately instead of together. So an attacker could use their own password with someone else's name tag and still get in.
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.