Unauthenticated user can upload an attachment to the last updated report draft
An unauthenticated user could upload attachments and attach them to the last created report draft of other users by sending a specially crafted request to the attachments endpoint. The text states the issue was not abused.
- Triaged in under an hour
- Fixed in 16 hours
- Disclosed after 4 days
Summary by the program
"What, HackerOne resolved a report that was submitted by @jobert?"
At HackerOne we often find security vulnerabilities ourselves. In most cases, we find them before new features even make it into production. Sometimes we find them when they're already in the wild. Recently we've launched a new feature called retesting. Up until now, HackerOne would always retest our own findings. We're changing that. This is the first report we identified ourselves where we're expanding retesting to the community. When we identified this vulnerability, we filed a ticket to our own bug bounty program instead of filing an internal ticket. We then leveraged the community to retest the vulnerability and allow them to find a bypass.
This particular security vulnerability allowed an unauthenticated user to upload attachments and attach them to the last created report draft of other users. This was possible by sending a specially crafted request to the /attachments endpoint. Our investigation concluded that this was not abused.
Thanks to the hackers that retested this vulnerability!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the attachment upload endpoint did not check who owned the target draft and did not require authentication before attaching the uploaded file.
Impact
An unauthenticated attacker could add unwanted attachments to another user's latest report draft, though the text says this was not abused.
What the attacker needed
No account needed; target has a recent report draft
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 report has not been written yet. The Original tab links to the source.
A report draft is a private, unfinished bug report. Normally only its owner should be able to add files to it. Here, anyone on the internet could add a file to someone else's most recent draft without logging in.
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.