Ability to Disable the Login Attempt of any Shopify Owner for 24 hrs (Zero_Click)
The attacker changed the phone number in the 2FA setup request and repeatedly tapped resend until the server stopped sending codes, blocking the victim's login.
Originally disclosed on HackerOne
- Triaged in 28 hours
- Fixed in 2 months
- Paid in 5 days
- Disclosed after 3 months
Summary by the researcher
Hey Guys,
The report
Hello Team,
I Found a Bug in which Hacker Have Ability to Disable the Login Attempt of any Shopify Owner With (Zero_Click)
Summary:
Proof of Concept;
Credentials:
Victim = ███████.com (████████)
Hacker = █████████.com
Victim Sceanrio:
Step 1 : Victim Login to his Account (████.com)
Step 2 : For Better Security of his Account ---------> Victim Activate the 2 Factor Authentcation ( Via Mobile Phone Number)
Step 3 : 2 FA Activated Successfully -----------> Victim Logout
Attacker Scanario: (Incognito Tab)
Step 1 : Hacker Make a New Account in shopify (███████.com)
Step 2 : Hacker Go to Manage Account -------> Choose to Activate 2 FA
Step 3 : Hacker Enter his Mobile Number (█████████) --------> Capture the Request in Burpsuite
Step 4 : Hacker Change the Mobile Number (████) to (███████) --------> Forward the Request
Step 5 : Hacker Logout -------> Login again
Step 6 : Now Hacker Tap Multiple times in "RESEND CODE " --------> untill Server Reflect Stop ████████
Step 7 : Now Hacker Stop Finally
Victim Sceanrio: (Again)
Step 1 : Victim Want to Login to his Shopify Account
Step 2 : Victim Enter Email and Password --------> Server Redirect to 2 FA page
Step 3 : Here Victim See So many OTP Code But Recent Code Still Not Arrive --------> Victim Click Resend But Server Block the Attempt
As a Result Victim not Allowed to Login to his Account
Zero_Click Vulnerbaility that Will Impact many Shopify Users Who Use Mobile Number as a method of 2 FA Verification
POC Video:
████
Please Let me Know if You have any doubt
Thank You
Regards~ saurabhsankhwar3
Impact
-
In Real World Attacker Perform a BruteForce Attack on 2 FA page (infinite Time) --------> So that Server Not able to send correct OTP to Real Victim
-
There is Improper Security While Setting 2 FA via Mobile Phone
-
Hacker try to Disable Login Attempt of any Shopify owner just By Knowing Which Mobile Number He/She used For Enabling 2 FA in his Account
4 . Violation of Security Design Priciple
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the 2FA phone-number update request could be altered to another number, and repeated resend requests exhausted the OTP sending limit.
Impact
An attacker who knows the victim's 2FA phone number could block the victim's login by exhausting the OTP resend limit.
What the attacker needed
Attacker has a Shopify account; attacker knows victim's 2FA phone number; victim uses mobile 2FA
How it was found
- The victim enables 2FA via mobile phone and logs out.
- The attacker creates a new Shopify account and starts 2FA setup with their own number.
- The attacker intercepts the request that submits the phone number and replaces it with another number.
- The attacker logs out and back in, then taps 'resend code' repeatedly until the server stops responding.
- The victim tries to log in but the server blocks the resend attempt, so no valid OTP arrives.
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 report has not been written yet. The Original tab links to the source.
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.