Critical IDOR Vulnerability: Unauthorized Users Can Modify Company’s PayPal Email
An API endpoint that updates a company's PayPal payout email identified the company only by a name in the URL, with no check that the caller owned that company. An attacker could change another company's payout email so referral rewards were paid to the attacker.
Published on 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
Impact
An attacker could redirect another company's referral payouts to an email they control, though the text does not show a completed payment being diverted.
What the attacker needed
An account on the platform; knowledge of another company's name
How it was found
- Find the referral (Alliance) section and the request that saves the PayPal email.
- Note that the company name appears in the request path.
- Replace the company name with a different company's name and send the request.
- Observe a success response, then confirm with a second account that the change took effect.
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.
Many websites put an identifier in the web address, such as a company name, and use it to decide which record to change. If the site does not also check that you are allowed to change that record, anyone can swap the name for someone else's and edit their data. Here the record held the email address where the company receives its referral payments.
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.