Skip to content
Access control Disclosed report Beginner

Direct Access To admin Dashboard

An admin dashboard on two Shopify subdomains was protected at the /admin path by an Okta login redirect, but appending a file extension to the path served the same dashboard without authentication. An unauthenticated visitor could view administrative information and read the admin CSRF token embedded in the page.

mester_x Follow

Originally disclosed on HackerOne

Informational View original
  • Triaged in 21 hours
  • Fixed in 42 days
  • Paid in 7 days
  • Disclosed after 42 days

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

The original report as published on HackerOne, by mester_x. 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 authentication check was tied to the exact /admin path rather than to the underlying admin page, so requesting the same page with a file extension bypassed it.

Impact

An unauthenticated user could view administrative information and obtain the admin CSRF token, which the reporter says could enable a CSRF attack, though they did not demonstrate one and could not discard, edit or create Globals without authentication.

What the attacker needed

No account needed; directly request the admin URL with a file extension

How it was found

  1. Open the admin URL on either subdomain with a file extension appended instead of the plain admin path.
  2. Observe that the admin dashboard loads without any Okta login.
  3. View the page source to find the authenticity_token value.

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.

A website's admin area is meant to be reachable only after logging in. Here the login check only covered one exact web address, so a slightly different address that pointed at the same page skipped the check entirely. The reporter could open the admin page without an account and see its contents, including a secret value the site uses to confirm that form submissions really come from the site itself.

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 by mester_x

View all

1 more disclosed report, best first.

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.