Skip to content
Info disclosure Disclosed report Beginner

Legacy API exposes private video titles

The legacy oEmbed API returned the title of videos whose privacy was set to followers-only, chosen-people-only or password-protected, even though the video page itself was restricted. An attacker could walk sequential video IDs and harvest the titles of many private videos.

nathonsecurity Follow

Originally disclosed on HackerOne

  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 23 days

Hi,

I have discovered Vimeo's legacy API (vimeo.com/api) exposes private video titles.

Example URL: https://vimeo.com/api/oembed.json?url=https%3A//vimeo.com/152133387

Vimeo provides the uploader with 5 privacy options for viewing videos:

  1. Anyone
  2. Only me
  3. Only people I follow
  4. Only people I choose
  5. Only people with a password

While "Only me" is selected the above URL will return 404 Not Found. If any of the last three options are selected, the server will respond with:

{"type":"video","version":"1.0","provider_name":"Vimeo","provider_url":"https:\/\/vimeo.com\/","html":"<iframe src=\"https:\/\/player.vimeo.com\/video\/152133387\" width=\"352\" height=\"288\" frameborder=\"0\" title=\"My secret video\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe>","width":352,"height":288,"video_id":152133387,"uri":"\/videos\/152133387"}

As you can see, this includes the title "My secret video". Given a URL of a private video, an attacker can view the title of the video which may in turn reveal the contents of the video. As video IDs increment one-by-one, it would be very easy to discover the titles of thousands of private videos by checking the response of the video page against the response of the API.

-Nathan

The original report as published on HackerOne, by nathonsecurity. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 legacy oEmbed endpoint checked only the strictest privacy setting ("Only me") and did not apply the other restricted privacy levels before returning video metadata.

Impact

An attacker could learn the titles of private videos, which may reveal their contents, and could do so at scale by iterating sequential video IDs.

What the attacker needed

Knowledge of a private video's ID

How it was found

  1. Take the URL of a video whose privacy is set to followers-only, chosen-people-only or password-protected.
  2. Request the legacy oEmbed endpoint for that video's URL.
  3. Observe that the response is returned rather than refused.
  4. Read the video title from the returned embed HTML.

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.

Vimeo lets an uploader decide who may watch a video, for example only people they follow or only people with a password. The normal video page respected that choice, but a second, older service that builds embed codes for videos still handed back the video's title to anyone who asked. Because video numbers run in order, someone could simply try many numbers and collect titles of videos they were never allowed to see.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by nathonsecurity

View all

2 more disclosed reports, best first.

More from Vimeo

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.