Skip to content
Access control Write-up Intermediate

I found a secret door into an admin panel — and got paid $750 for it

The website's login page had no sign-up option, but the underlying Supabase authentication service still allowed account creation using an API key exposed in client traffic. An attacker could create an account and gain full admin dashboard access, exposing creator payment details and system settings.

syedfaiz7 Follow

Published on medium.com

Let me tell you a story about a locked front door — with the back window wide open.

Syedfaiz, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Supabase authentication service allowed public sign-ups by default, and the API key needed to use it was exposed in client-side traffic, so the absence of a sign-up button in the UI did not prevent account creation.

Impact

An attacker could read sensitive creator payment data, modify payment settings, or maintain persistent access to the admin dashboard.

What the attacker needed

Access to the website's login page; ability to intercept HTTP traffic; no account required initially

The fix

The issue was fixed the same day after being reported.

How it was found

  1. Visit the login page of the payment dashboard subdomain and note there is no sign-up option.
  2. Intercept the login request with Burp Suite and observe the Supabase API key in the traffic.
  3. Send a sign-up request directly to the Supabase authentication endpoint using the observed API key.
  4. Verify the email address and log in through the normal login page.
  5. Observe that the account lands on the full admin dashboard with access to creator lists, payment history, and system settings.

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 write-up has not been written yet. The Original tab links to the source.

The website looked like it had no way to create an account, but the service it uses behind the scenes for logins still allowed anyone to sign up. The key needed to talk to that service was visible in the website's network traffic, so the author used it to make an account directly and got into the admin area.

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.

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.