How I Exploited the Account Cancellation Feature to Farm Rewards
The account cancellation feature allowed immediate re-registration with the same phone number, treating the user as new. An attacker could repeatedly cancel and re-register to claim invitation rewards multiple times.
Published on medium.com
I’m a bounty hunter from China, and I’m excited to share with you an interesting vulnerability I encountered while hunting for bugs. I hope we can exchange and learn together.
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 cancellation process did not enforce a cooling-off period or retain a record of the cancelled phone number, so re-registration was treated as a new user.
Impact
An attacker could repeatedly claim invitation rewards, potentially obtaining multiple memberships without actually inviting new users.
What the attacker needed
A free account; ability to cancel account; same phone number for re-registration
The fix
The site should enforce a cooling-off period after cancellation, preventing immediate re-registration with the same phone number.
How it was found
- Register and log in to the target website.
- Register account A and generate an invitation link.
- Use the invitation link to register account B.
- Cancel account B and immediately re-register with the same phone number.
- Repeat cancelling and re-registering via A's invitation link to claim the reward multiple times.
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 an account, the site should remember that phone number for a while so you cannot just sign up again as a brand-new user. Here, it forgot immediately, so someone could keep making 'new' accounts and collect the reward for inviting a friend over and over.
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.