Unauthenticated API Field Bypass — Leaking Internal Scores, Ent
The API's field selection parameter allowed unauthenticated users to request internal fields that were not meant to be public, such as quality review scores, enterprise collection names, and user PII. An attacker could use this to learn internal moderation data, business secrets, and user details without logging in.
There’s a special kind of joy in bug bounty hunting. It’s not the money (okay, it’s a little bit the money).
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
The API enforced an allowlist only for preset field groups like @all and @default, but when a specific field was requested by name, the allowlist was bypassed and the raw model field was returned.
Impact
The exposed data could allow competitors to reverse-engineer ranking algorithms, reveal enterprise customer identities and government contracts, and leak user PII, though no data was modified.
What the attacker needed
No authentication required; Knowledge of field names
The fix
The API should enforce a per-endpoint field allowlist for both presets and individual field requests, remove sensitive fields from public serializers, and use separate serializers for public and authenticated contexts.
How it was found
- Send a request to the course endpoint with a fields parameter naming an internal field such as quality_review_process.
- Observe the response containing internal quality scores and admin ratings without authentication.
- Send a request with fields parameter set to content_collections to retrieve enterprise collection names.
- Send a request to the reviews endpoint with fields parameter for user fields like surname, created, locale, and permissions to obtain user PII.
- Compare with the direct user profile endpoint, which returns a 403, showing inconsistent access control.
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.
An API is a way for programs to talk to each other. This one let anyone ask for specific pieces of data by naming them in the request, but it did not check whether those pieces were allowed to be shared. So a person could ask for private information like internal scores or user details and get it without logging in.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.