Skip to content
Access control Write-up Intermediate

Forgotten Features, Fresh Exploits: Turning Beta Endpoints into A

A forgotten beta settings endpoint was accessible in production and could be unlocked by adding a feature-flag header, exposing an internal admin panel. The panel allowed querying all user emails, system logs with admin JWTs and payment credentials, and mutating API keys and internal settings.

iski Follow

Published on infosecwriteups.com

Free link 🎈

Iski, on infosecwriteups.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 beta endpoint and its feature-flag header were left enabled in production without proper access control, allowing anyone to reach the admin panel.

Impact

An attacker could access an internal admin panel, read all user emails, obtain admin JWTs and payment gateway credentials, and rotate API keys, potentially leading to full compromise.

What the attacker needed

Knowledge of the beta endpoint URL; ability to send custom HTTP headers

The fix

The beta endpoint should be removed from production, feature flags should be enforced on the backend rather than via client-supplied headers, and role-based access control should be applied to all routes.

How it was found

  1. Find the beta settings endpoint through subdomain enumeration and historical URLs.
  2. Request the endpoint and observe a feature-flag header in the response.
  3. Send the same request with that header added to reach an admin panel.
  4. Use GraphQL queries to list user emails and fetch system logs containing tokens and credentials.
  5. Run an admin mutation to rotate an API key and query internal 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.

A beta endpoint is an experimental part of a website that developers meant to keep private. Here it was still live on the internet, and a special header (a small piece of extra information sent with a request) tricked the server into showing an admin area. From there, anyone could read private data and create new secret keys.

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 iski

View all

186 more disclosed reports, best first.

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.