Skip to content
Access control Write-up Intermediate

️ Shadow Endpoints: How I Found the Internet’s Best Kept API Secrets

The report describes discovering undocumented internal API endpoints, including an admin endpoint that returned user data with password hashes, API keys, and credit card details when accessed with a regular user token. The author claims this exposed the complete user database.

iski Follow

Published on medium.com

Free link 🎈

Iski, 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 internal admin API endpoint lacked proper authorization checks, allowing any authenticated user to access sensitive data.

What the attacker needed

A regular user account; ability to intercept mobile traffic

How it was found

  1. Intercept mobile app traffic to find API calls not present in the web version.
  2. Fuzz for hidden API endpoints using a wordlist of common patterns.
  3. Analyse JavaScript files to extract hardcoded internal endpoint paths.
  4. Discover GraphQL endpoints and run introspection to find sensitive operations.
  5. Test different API versions and find that an internal version returns extra data.
  6. Access the internal admin API endpoint with a regular user token and retrieve user data including password hashes and credit card details.

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 author found hidden web addresses (API endpoints) that the app's own code referenced but were not meant to be public. One of these, an admin endpoint, gave back sensitive information like passwords and credit card numbers when accessed with a normal user's login token. This is a serious access control mistake.

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.