IDOR Vulnerabilities in Delivery Platform Affecting 5.4M+ Drivers
Two IDOR vulnerabilities in the Modify-Driver and Delete-Driver features allowed changing the DriverID parameter to modify or delete any driver account, including all 5.4 million registered drivers. An attacker could take over accounts by changing email and contact details, or cause massive data loss and service disruption.
Published on medium.com
This is Abdul Haq Khokhar, Bug bounty and Penetration Tester. I recently participated in a Self-Hosted Bug Bounty Program with a policy of offering a maximum reward of $500 per researcher, regardless of the number of valid bug reports submitted.
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 API endpoints for modifying and deleting drivers did not verify that the authenticated user owned or was authorised for the supplied DriverID.
Impact
An attacker could automate the process to delete or modify all driver accounts, causing massive data loss and service disruption, and could take over accounts by changing email and contact details.
What the attacker needed
A valid driver account; ability to intercept and modify requests
How it was found
- Access the modify endpoint with a valid DriverID.
- Replace the DriverID in the URL with another driver's ID.
- Send a POST request to modify details like name, email, and contact number.
- Intercept the delete request.
- Replace the DriverID with another driver's ID.
- Forward the request to delete the targeted account.
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 uses an identifier like a driver number in the URL but does not check that the logged-in user is allowed to access that particular record. Here, by simply changing the number in the request, anyone could edit or delete another driver's account. This is like changing the account number on a bank form and the bank not asking whether it is your account.
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.