Skip to content
Info disclosure Write-up Beginner

One Endpoint. Way Too Many Secrets

An unauthenticated profile API endpoint returned far more than a public profile, including recent order details with purchaser and customer names, payment amounts and methods, direct links to unwatermarked media, and internal pricing and feature-flag configuration. Anyone who knew or guessed a username could read other users' payment history and access paid media without authentication.

youssefmohamedsaadhelal1214 Follow

Published on medium.com

Every kingdom has its public face — the throne room, the banners, the smiling portraits sold to the crowd.

Tyrion404, 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 endpoint returned the full internal user and order object rather than a limited public view, and the media links it exposed pointed to files with no access check.

Impact

Anyone could read other users' order and payment details, obtain unwatermarked paid media, and see internal pricing and feature-flag configuration; a second endpoint also exposed subscriber-only messages and the user IDs of paying members, which chained back to the same profile endpoint.

What the attacker needed

No account needed; knowing or guessing a username

The fix

The endpoint should return only the intended public profile fields and the media should require authentication; the text says a first fix trimmed a few fields but left the media links, internal configuration and order objects exposed, and a second response tightened some of it while the program…

How it was found

  1. Request the public profile endpoint for a given user without any session, cookie or token.
  2. Observe that it returns a full response instead of an authorisation error.
  3. Read the embedded order objects to obtain purchaser and customer names, amounts and payment methods.
  4. Take the media links from those order objects and request them directly.
  5. Observe the unwatermarked files are served without authentication.
  6. Read the internal pricing, rate-limiting state and feature flags included in the same response.

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 website's API is the set of addresses its pages use to fetch data. This one was meant to return only a public profile, but it also returned private order records and links to paid videos, and it did so without asking the visitor to log in. That means a stranger could type someone's username into a URL and see who they paid, how much, and get the paid content itself.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by youssefmohamedsaadhelal1214

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.