Account Takeover using Improper Authorization in “Check Availability” Feature
An unauthenticated 'check availability' flow let anyone submit an existing victim email together with their own phone number, and the application bound that phone to the victim's account. The attacker could then log in to the victim's account using an OTP sent to their own phone and take it over.
infosecwriteups.com
Published on infosecwriteups.com
This article is about recently resolved report, which was submitted to private program. which is application for hiring professionals for different kind of services like House cleaning , carpet cleaning , plumbers, Painters,Contractors.
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 unauthenticated availability endpoint trusted a user-supplied email and wrote the supplied phone number to that account without verifying the caller owned the account or the number.
Impact
An attacker could take over any account that had no phone number attached, though only accounts without a phone were affected.
What the attacker needed
No login needed; victim account has no phone number; attacker has a phone to receive OTP
How it was found
- Open a professional's public profile and start the unauthenticated check availability flow.
- Enter the victim's email address, which already has an account.
- Enter the attacker's own phone number and finish the flow.
- Observe that the attacker's phone is now bound to the victim's account.
- Log in to the mobile app with the victim's account using the attacker's phone and the OTP.
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 apps let you log in with a one-time code sent to your phone instead of a password. Here, a public form that was only meant to check whether a tradesperson was free also saved the phone number you typed onto whichever account matched the email you typed. Because the form never asked anyone to log in, an attacker could attach their own phone to a stranger's account and then receive that stranger's login codes.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.