Delete Account Functionality Helped Me Earn $250
The platform applied cancellation charges to a user's account after late cancellations, but deleting the account removed those charges and assigned a new user ID, allowing the user to make new cash-on-delivery bookings without paying the charges. This caused monetary loss to the company.
medium.com
Published on medium.com
FREE ARTICLE LINK
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 account deletion process did not retain or transfer the cancellation charges to the new account, and the new account was treated as a fresh user with no penalties.
Impact
The company lost money because it had to compensate service providers for cancelled bookings, and users could avoid cancellation fees by deleting their accounts.
What the attacker needed
A user account on the platform; ability to make cash-on-delivery bookings; ability to cancel bookings within 3 hours
The fix
The issue was fixed by the company, likely by ensuring cancellation charges persist across account deletions or by preventing new accounts from bypassing charges.
How it was found
- Make multiple cash-on-delivery bookings for the next day.
- Cancel them within 3 hours of the booking time to incur cancellation charges.
- Attempt to make a new booking and observe the charges added and prepaid requirement.
- Delete the account.
- Create a new account (new user ID assigned).
- Make a new cash-on-delivery booking without cancellation charges.
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.
When you cancel a booking late, the company adds a fee to your next booking. But if you delete your account, the company forgets about those fees and gives you a new account, so you can book again without paying the fee. This means the company loses money.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.