HexBrain

Shopify · Report #1421804

Direct Access To admin Dashboard

Validstatus
26upvotes
20 Jan 2022disclosed

How it was found

Summary:

Hi Team, When Link to https://datastories.shopify.com/admin or https://data-stories-website.shopifycloud.com/admin the subdomain redirect you to https://shopify.okta.com/login/login.htm?fromURI=/oauth2/v1/authorize/redirect?okta_key=PJl7eQUE9mYSKrtADqQAMe6v3y_SA3iqFtstkVPavAA for OKTA authentication to perform non admins from the Admin dashboard at https://datastories.shopify.com/admin. But non authentications users still can access the admin dashboard just by add any extintion to the admin word => https://datastories.shopify.com/admin.php . When link to https://datastories.shopify.com/admin.php You can see the admin dashboard for the subdomain and the information replaced in.

  • You can't discard, edit or create Globals while you are not authenticated, But you can still see administrative information.
  • When You press Ctrl+U you can see parameter called authenticity_token which admin csrf_token, This token can used to perform CSRF attack on the site admin I can't perform for u the CSRF attack now for manu reasons, but accessing this token is critical issue.

Steps To Reproduce:

  1. Link to https://datastories.shopify.com/admin.php , and https://data-stories-website.shopifycloud.com/admin.php

Impact

Direct access to admin dashboard

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original