I Didn’t Bypass Security — I Followed the Workflow Too Li
The preview endpoint generated full reports instead of redacted previews and cached them without user binding, and the download endpoint lacked ownership checks. An attacker could obtain paid enterprise reports and sensitive user data without payment or authorisation.
Free link 🎈
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 preview endpoint generated full reports and cached them without binding to a user, and the download endpoint trusted the cache without ownership or role checks.
Impact
An attacker could obtain paid enterprise reports and sensitive user data (names, emails, internal IDs, payment status, account flags) without payment or authorisation, and the cached data was accessible to anyone with the URL.
What the attacker needed
No authentication required for preview endpoint; Knowledge of the preview endpoint; Ability to send custom headers
How it was found
- Map endpoints and identify the preview endpoint.
- Observe that the preview endpoint generates a full report and caches it.
- Send a request to the preview endpoint with workflow headers to generate an enterprise report.
- Receive a cached report URL.
- Access the cached report URL to obtain the full report and sensitive data.
- Use the download endpoint with the report ID to retrieve the report without ownership checks.
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 preview feature is meant to show a limited version of a report before payment. Here, the preview actually created the complete report and saved it in a shared cache. Because the download step did not check who was asking, anyone who knew the cache address could fetch the full report and the personal data inside it.
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.