Uncovering the Hidden Vulnerability: How I Found an Authentication Bypass on Shopify’s Exchange…
The application did not issue a new session cookie value on logout, so old cookies remained valid while the victim's session was still active elsewhere. An attacker who obtained those cookies could log in to the victim's account in another browser as long as the victim stayed logged in.
Published on medium.com
Welcome back to my Medium blog! I’m excited to have you here again and can’t wait to share more interesting content with you.
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
Impact
An attacker with the old cookies could access the victim's account in another browser, but only while the victim's session is active somewhere; the author rates this as low severity.
What the attacker needed
Attacker obtains the victim's session cookies; victim's session remains active
How it was found
- Go to the site and click Sign In.
- Log in with a Google account.
- Export the cookies with a cookie editor extension and save them.
- Import those cookies in another browser and log in to the account.
- Log out in the first browser, which also logs out the second browser.
- Log in again in the first browser to generate new cookies, then use the old saved cookies in the second browser to access the account while the victim's session is active.
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 log in, a website gives your browser a cookie, a small piece of data that proves who you are. Normally, logging out should make that cookie useless. Here, the old cookie still worked in another browser while the real user was still logged in, so anyone who copied it could get into the account.
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.