# Ability to see password protected content by bypassing the password page of shopify preview URL for new development stores (as of August 17, 2020)

A `_bt` token from one dev store's storefront bypassed the password page on another dev store's preview URL, exposing protected content.

- Payout: $1,500
- Severity: medium
- Program: Shopify
- Found by: saltymermaid
- Disclosed: 2020-08-25
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/961929
- Library page: https://bugbountylibrary.com/r/h1%3A961929
- Tags: area:web domain:web impact:data-leak kind:bounty platform:hackerone sev:medium tech:rest technique:recon vuln:access-control vuln:auth-bypass

**Target:** Shopify development store preview URL / password page
**Root cause:** The `_bt` bypass token was validated globally rather than scoped to the specific store, so a token minted for one store unlocked password-protected previews of another.
**Steps:**
1. Create a new development store (post Aug 17 2020 standard).
2. Go to Sales channels > Online Store > Themes and click 'View your store'.
3. Copy the `?_bt=<token>` query parameter from the address bar.
4. Open a preview URL of a different new-standard store.
5. Append `?_bt=<token>` to the preview URL and request it.
6. Password page is bypassed and store content is shown.
**How found:** Noticed that new dev stores now enforce a password on preview URLs, then hypothesized the `_bt` token seen on their own storefront might be accepted cross-store, and tested by transplanting it onto another store's preview URL.
**Exploitation:** Attacker with a preview URL but no store password appends a `_bt` token harvested from their own dev store to the victim preview URL, bypassing the password gate and reading protected store content.
**Insight:** When a platform introduces a new access token/param (like `_bt`) to gate previews, test whether the token is bound to the specific resource or accepted globally by replaying it against other tenants' URLs.

