Skip to content
Account takeover Disclosed report Intermediate

Disconnecting an external login provider does not revoke session

After a victim disconnects a linked Google login provider, the attacker's existing browser session is not revoked and the attacker can still access the account. The attacker can also re-link their Google account, creating a persistent backdoor that survives a password change.

jagannath2003 Follow

Originally disclosed on HackerOne

Bounty$1,600 Medium 4.2 View original
  • Triaged in 5 days
  • Fixed in 3 months
  • Paid in 14 days
  • Disclosed after 7 months

Hi team,

Summary: attacker could create a backdoor using google login function.if an attacker stole the login password of victims throught any means. attacker could connect his/her google account and create a backdoor and attacker login with google if the victim disconnect attacker session did not expire and still get access beacuse of no session expire after disconnected with google account .attacker could still connect his google account again.

Steps To Reproduce:

  1. attacker stole the login password of victims throught any means - https://accounts.shopify.com {{attacker prespective}}
  2. attacker could connect his/her google account {{attacker prespective}}
  3. attacker login with google authentication {{attacker prespective}}
  4. victim disconnect attacker session did not expire and still get access beacuse of no session expire in the attacker browser after disconnected with google account {{victims prespective}}
  5. attacker could still connect his google account again. {{attacker prespective}}

POC video attached in this report

Impact

no session expire after disconnected with google account an attacker can still logined to the victim account .thus an attacker could create a backdoor in victim account to login even if the victims changes the password attacker has a backdoor way to login to the account .

The original report as published on HackerOne, by jagannath2003. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 application does not invalidate existing sessions or linked-identity state when an external login provider is disconnected.

Impact

An attacker with the victim's password could keep access to the account through a linked Google login even after the victim disconnects it or changes the password.

What the attacker needed

Attacker knows the victim's password; victim has a Shopify account

How it was found

  1. The attacker obtains the victim's login password by some means.
  2. The attacker links their own Google account to the victim's account.
  3. The attacker signs in using Google authentication.
  4. The victim disconnects the attacker's Google link, but the attacker's session stays active.
  5. The attacker can link their Google account again.

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.

Many sites let you sign in with a Google account linked to your normal account. This report says that when the real owner removes that Google link, the attacker who added it stays logged in on their own browser. That means the attacker keeps a way back in even after the password is changed.

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.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.