100$ Bug — The Hidden Cost of “Unsigned” Uploads: Explo
The application used an unsigned Cloudinary upload preset, allowing anyone to upload files directly to the company's storage without authentication. An attacker could exhaust storage and bandwidth budgets, host phishing content on a trusted domain, and enumerate existing assets by checking for existing public IDs.
Published on zer0figure.medium.com
In modern web development, companies rarely host their own images or videos. Instead, they rely on powerful third-party Content Delivery Networks (CDNs) and media management services like AWS S3 or Cloudinary.
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 application used an unsigned upload preset, so the third-party storage service accepted files without any backend authentication or authorisation check.
Impact
An attacker could exhaust the organisation's storage and bandwidth credits, host convincing phishing pages on the trusted CDN domain, and enumerate existing assets; the report notes the issue was unresolved at the time of writing.
What the attacker needed
Knowledge of the upload preset name; no account required
The fix
The report recommends switching to signed uploads, where the backend generates a cryptographic signature for each upload, and proxying uploads through the backend with authentication and rate limiting; it does not state that the issue was fixed.
How it was found
- Upload a profile picture and intercept the HTTP request.
- Notice the request goes directly to the third-party storage API with no authentication headers.
- Copy the request and remove all cookies, referrers, and user agents.
- Send the modified request to upload a file without any account.
- Receive a successful response with a public URL for the uploaded file.
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.
When you upload a profile picture, the website usually checks that you are logged in before saving the file. Here, the website skipped that check and let anyone send files straight to its cloud storage service. That means a stranger could fill up the company's paid storage or host fake login pages on a trusted web address.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.