Can message users without the proper authorization
The application allowed sending private messages to any user without following them, bypassing the stated requirement. An attacker could send unsolicited messages to arbitrary users by directly posting to the messages endpoint.
- Triaged in 24 days
- Fixed in 24 days
- Paid in 24 months
- Disclosed after 58 days
It shouldn't be possible to send messages to users without following users:
You must be following at least one Vimeo member before you can send a private message. To get started, find a friend, family member, or someone with cool videos and click the "Follow" button on their profile page.
It's possible to bypass that by just sending a POST request to /messages:
POST /messages HTTP/1.1
Host: vimeo.com
User-Agent: [CENSORED]
Accept: text/html, application/xml, text/xml, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Referer: https://vimeo.com/messages
Content-Length: 141
Cookie: [CENSORED]
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
name=Jens>&text=blaat&action=send_message&lightbox=true&user=[ANY USER ID HERE]&token=[CENSORED]
You can replace the user parameter with any random user ID and it will send the message without any issues.
Fix:
Add proper server side authorization on the /messages endpoint.
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 server did not check whether the sender was following the recipient before accepting the message.
Impact
An attacker could send private messages to any user without following them.
What the attacker needed
A valid account; ability to send HTTP requests
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.
The follow-before-messaging rule could be bypassed by sending a direct request to the messages endpoint, allowing messages to anyone.
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.