What I Learned While Testing a Ride-Sharing Application
The ride completion and referral reward system could be abused to complete rides without physically travelling, and the system credited the associated referral reward. The text also mentions that drivers and customers saw a generic location validation error when starting or ending rides.
Published on medium.com
As a developer and cybersecurity enthusiast, I enjoy exploring applications not just from a user’s perspective, but also from a quality and security standpoint. Recently, while testing a ride-sharing platform, I came across a few interesting issues that highlighted the importance of thorough testing before releasing…
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 trusted client-side ride completion without checking real location or travel, and location validation errors were handled poorly.
Impact
The platform could pay referral rewards for rides that never happened, causing financial loss, and legitimate users could be blocked from starting or ending rides by a generic location error.
What the attacker needed
A ride-sharing account; ability to trigger ride completion
The fix
Ride completion and rewards should be validated on the server side with fraud-prevention checks, and location errors should give meaningful messages.
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 ride-sharing app gives rewards for completing rides. The tester found that rides could be marked as finished even though no real journey happened, so rewards were paid out for fake activity. Separately, real users sometimes got a vague error when trying to start or end a ride.
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.