CHAINING THE SCOPE
A transaction lookup endpoint returned full customer details, including name, email, phone, address, payment information and IP address, to anyone who supplied a transaction identifier, with no authentication or authorisation check. The author collected identifiers from archived URLs and used them to retrieve other people's personal data.
Published on sijojohnson.medium.com
My HackerOne profile isn’t good, so I’m trying to make it better. I got minus points from multiple programs, so I decided to revisit those programs and try to find valid bugs.
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 endpoint relied on the unguessable transaction identifier alone as the access check, with no authentication or ownership verification.
Impact
Anyone holding a valid transaction identifier could read another customer's personal and payment details; the author reports the identifiers were later made to expire, but data stays exposed until then.
What the attacker needed
A valid transaction identifier; no account needed
The fix
The endpoint should require authentication and check that the requester owns the transaction, rather than trusting the identifier alone; the author says a timer was added so identifiers expire.
How it was found
- Filter archived URLs for the site to collect transaction identifiers.
- Open the transaction endpoint and replace the identifier with each collected value.
- Observe that full transaction details and personal data are returned without logging in.
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 transaction identifier is a long random-looking string the site uses to refer to one payment. The site treated knowing that string as proof you were allowed to see the payment, so anyone who found an old identifier could read a stranger's personal details. The fix was to make identifiers expire, though the author notes the data is still exposed until that timer runs out.
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.