Skip to content
CORS Write-up Intermediate

They Rejected My Bugs. I Came Back Same Day With 9 More.

Several flaws were found on an EC-Council training platform: an API response leaked internal cloud storage paths that led to a public, unauthenticated storage container holding private user profile assets, a third-party API key was sent in plaintext URL query parameters, and authenticated API endpoints used a wildcard CORS policy. An attacker could read other users' profile assets without logging in, harvest the exposed key from logs and browser history, and use a malicious site to read authenticated users' data.

arifubaid0345 Follow

Published on medium.com

I want to be honest about something upfront: I wasn’t on some serious mission when this started. I’d already done responsible disclosures on PriceOye and Waqar Electronics.

Ubaid Ur Rehman, 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 excessive data in API responses exposed internal storage paths, combined with a storage container that had no authentication, a key placed in URL query strings, and a wildcard CORS policy on authenticated endpoints.

Impact

Private user profile assets could be read without authentication, the exposed API key could be harvested from logs and browser history, and any malicious website could silently read data belonging to logged-in users; the text does not say whether the key was rotated or the bucket was closed.

What the attacker needed

No account needed for the storage bucket; victim logged in for the CORS issue; victim visits an attacker page

The fix

The text says remediation was confirmed as underway, but does not describe the specific changes made.

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.

Some web servers return more detail in their responses than they should, and here that detail included the address of a cloud storage bucket. That bucket had no login check at all, so anyone who knew the address could read files meant to be private. Separately, a secret key was placed in the web address itself, where it gets saved in browser history and server logs, and the API was set up so any website could read logged-in users' data.

What is CORS?

A permissive cross-origin policy lets another site read responses with the user's credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

CORS misconfiguration

The lesson behind this report.

A permissive cross-origin policy lets another site read responses with the user's credentials.