The authentication code when activating 2FA can be used again to log in

Disclosed: 2021-02-11 19:06:02 By shadow-m To shopify
Low
Vulnerability Details
Hi team, Summary: ====================== I noticed that when activating 2FA by sms, you can also use that 2FA activation code, to use as an authentication code when logging in. Steps: ========================= 1, Go to: https://accounts.shopify.com/accounts/36430415/security and log in 2, Activate 2FA by sms for the account and save the code sent in your phone 3, Log out and perform login again 4, After entering the password and being asked to enter the verification code, you only need to replay the code used to activate the previous 2FA. 5, Logged in successfully. ## Impact Assuming the hacker knows the authentication code when activating the victim's 2FA, he can reuse the victim's code to replay and log in successfully without the victim knowing. Recommend: ============ Each authentication code should only be used once. Best regards, john
Actions
View on HackerOne
Report Stats
  • Report ID: 695041
  • State: Closed
  • Substate: resolved
  • Upvotes: 4
Share this report