How i got my first bounty of $$
The hidden image upload feature in a chatbot lacked a rate limit, allowing unlimited uploads. An attacker could exhaust the organisation's storage by uploading many images.
https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FHidva3NC6BulW%2Ftwitter%2Fiframe&displayname=Giphy&url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcXJwamY5ZzMzcmo4bjNiZ3p6ZHhrbDF3MHppemtmcjEwcDRza2d4cCZlcD12MV9naWZzX3NlYXJjaCZjdD1n%2FHidva3NC6BulW%2Fgiphy.gif&image=https%…
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 server did not enforce a limit on the number of uploads per user or session.
Impact
An attacker could exhaust the organisation's storage by uploading unlimited images, potentially causing a denial of service.
What the attacker needed
Access to the chat subdomain; ability to interact with the chatbot; a proxy tool to modify requests
How it was found
- Open the chat subdomain and interact with the chatbot.
- Ask for help with a product and provide an email address.
- When the upload feature appears, upload an image.
- Observe that after three uploads, further uploads are blocked on the client side.
- Use a proxy to intercept and modify the filename, then resend the upload request.
- Observe that the upload succeeds with a 200 OK status, bypassing the limit.
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 rate limit is a cap on how many times you can do something, like upload a file. Without it, someone can upload many files and fill up the server's storage, which is called a denial-of-service. Here, the upload feature was hidden and had no limit.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.