Skip to content
Access control Disclosed report Beginner

Session works after logout from Shopify account and password of online store is displayed

After logging out of a Shopify Lite Plan account, the session remained valid, allowing access to the store password page. An attacker with access to the session could view the store password and then access the password-protected storefront.

premium101 Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 24 days
  • Paid in 10 days
  • Disclosed after 24 days

When a user creates a Shopify Lite Plan account, in the product creation stage when the account has not been upgraded, the store's password is enabled such that any visitor who wants to access the store is required to enter password before being granted access to view the products listed in the online store.

When a logout request has been made and response has been received/displayed that logout is successful, session still works when https://unctify.myshopify.com/accounts/passwords is entered in the browser url address bar; the resulting Shopify page displays the password required to enter the store which is supposed to be visible to only the admin and those who have been sent this password.

Please see the PoC attached.

Impact

Third party can view the listed products and also exploit the user session vulnerability.

Attachments

The original report as published on HackerOne, by premium101. 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 logout did not invalidate the server-side session, so the session cookie remained valid after logout.

Impact

A third party could view the listed products and exploit the user session vulnerability, as the store password is exposed after logout.

What the attacker needed

Shopify Lite Plan account; Store password enabled; Attacker has access to the session

How it was found

  1. Create a Shopify Lite Plan account and enable the store password.
  2. Log out of the account and confirm the logout success message.
  3. Enter the store's passwords page URL in the browser address bar.
  4. Observe that the page still loads and displays the store password.

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.

When you log out of a website, the site should end your session so that your browser can no longer access private pages. Here, the logout did not properly end the session, so the browser could still open a page that shows the store's password. That password is meant only for the store owner, so anyone who still had the session could see it and then view the store.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.