abusing Thumbnails(https://vimeo.com/upload/select_thumb) to see a private video
The thumbnail-selection endpoint accepted a clip_id belonging to another user's private video without checking ownership, so an attacker could obtain thumbnail images of any private video. By iterating the time parameter, the attacker could reconstruct the whole video frame by frame.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 1 hour
- Paid in 3 hours
- Disclosed after 3 months
https://vimeo.com/upload/select_thumb uri is used set a thumbnails on your vimeo video. https://vimeo.com/upload/select_thumb uri request is compose of 3 parameter clip_id, token, and time . clip_id parameter is used to select a video you want to get a thumbnail,clip_id is a csrf token and time parameter is the timeframe of the video you selected.!
I changed the value of clip_id parameter to another video id to test some authorization flaw ,it seem it works because i got HTTP/1.1 200 OK and i short json response that contain a url, like this one
{"success":true,"id":503302458,"url":"https://i.vimeocdn.com/video/503302458_100x75.jpg"}
To confirm this is a authorization flaw i make a another account and upload a private video in that account and get the clip_id, then make a request(https://vimeo.com/upload/select_thumb) to my attacker account using that clip_id. as a result i got some thumbnails on a private video
if you want to get the whole video just iterate the time parameter! i think it is useful to include some request
SOME REQUEST
POST /upload/select_thumb HTTP/1.1 Host: vimeo.com Connection: keep-alive Content-Length: 101 Accept: application/json Origin: https://vimeo.com X-Requested-With: XMLHttpRequest X-Request: JSON User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 Content-type: application/x-www-form-urlencoded; charset=UTF-8 DNT: 1 Referer: https://vimeo.com/116730756/settings Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8,et;q=0.6,fil;q=0.4 Cookie: optimizelyEndUserId=oeu1421174571879r0.30598339810967445; vimeo_cart=%7B%22pro%22%3A%7B%22store%22%3A%22pro%22%2C%22version%22%3A1%2C%22quantities%22%3A%7B%22433857%22%3A1%7D%2C%22items%22%3A%5B%7B%22id%22%3A433857%7D%5D%2C%22currency%22%3A%22USD%22%2C%22attributes%22%3A%5B%5D%7D%7D; ki_t=1421174596820%3B1421174596820%3B1421174632154%3B1%3B2; ki_r=; optimizelySegments=%7B%22198520930%22%3A%22direct%22%2C%22199004622%22%3A%22gc%22%2C%22199138489%22%3A%22false%22%2C%22213082152%22%3A%22none%22%2C%22222271074%22%3A%22true%22%7D; optimizelyBuckets=%7B%7D; language=en; clips=116730756%2C116213689; auto_load_stats=1; has_logged_in=1; stats_start_date=2015%2F01%2F11; stats_end_date=2015%2F01%2F15; site_settings=%7B%22sticky_page%22%3A%22%5C%2Fmyvideos%22%2C%22browse_format_vid%22%3A%22video%22%7D; stream_id=Y2xpcHM6MzYzNzIzODc6aWQ6ZGVzYzpbXQ%3D%3D; stream_pos=1; orphaned_upload_clip_ids_v2=%5B116730663%2C116730664%5D; vuid=971609171.1881657208; __utma=18302654.1379178336.1421173781.1421184208.1421253399.5; __utmb=18302654.28.9.1421253997197; __utmc=18302654; __utmz=18302654.1421174705.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utmv=18302654.|2=user_type=basic=1^3=ms=0=1^7=video_count=0=1; vimeo=epk9krxkmr70pcdxcxxsctd7jpcdxcxmkxrx7%2Cpfftk0tftdd0fdcmvx9x92rmksckx5rrfww5dwrvv; player=""; xsrft=d816974227fe3684c41a8501f333679f.61b1f2e5e1df9aeb29e02acf641d99a9
clip_id=9digitid&token=TOKEN_HERE&time=51.283
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 thumbnail endpoint trusted the client-supplied clip_id and returned a thumbnail URL without verifying that the requesting user owned that clip.
Impact
An attacker could view thumbnails of other users' private videos and, by iterating timestamps, potentially gather frames across the video.
What the attacker needed
A free account; knowledge of a victim clip_id
The fix
The endpoint should verify that the authenticated user owns the requested clip_id before returning a thumbnail.
How it was found
- Create a second account and upload a private video there, then note its clip_id.
- From the attacker account, send a request to the thumbnail endpoint with the victim's clip_id.
- Observe a successful JSON response containing a thumbnail URL for the private video.
- Iterate the time parameter to request thumbnails at different points in the video.
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 upload a video, the site lets you pick a still image to show as its preview. The request that fetches that still image takes a video identifier from the browser, and the server never checked that the video belonged to the person asking. So anyone who knew or guessed another person's video identifier could pull stills from a private video, and by asking for many different timestamps could effectively watch the whole thing.
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.