No Session Expiry after log-out, attacker can reuse the old cookies

Disclosed: 2024-05-01 18:16:40 By niraj1mahajan To shopify
Low
Vulnerability Details
Hi, There is no session expiry after log-out which can help an attacker to take-over the full account by reusing it. **Reproduction Steps** 1. Go to https://exchangemarketplace.com/ and click on Sign In 2. Continue with Google Account 3. Use "EditThisCookie" Extension to export the cookies 4. Once you logged in - click on "EditThisCookie" Extension and export the cookies 5. Now open another browser and import those cookies - you can able to login an account by using cookies 6. Logout from your first browser - it should logout from another browser as well. 7. Now, login again with your google account - This time use old cookies. 8. By using old cookies, you can able to login victim's account. (Whenever victim's session is active) Please find the attached POC video ████████ ## Impact **Attack Scenario:** If a malicious user gets the victim's cookies by exploiting any vulnerability, he can log in to victim's account . Whenever the victim's session is active an attacker can login victim's account by using old cookies. **Impact:** If a malicious user gets the cookies by exploiting any vulnerability, he can log in to the victim's account.
Actions
View on HackerOne
Report Stats
  • Report ID: 1162443
  • State: Closed
  • Substate: resolved
  • Upvotes: 63
Share this report