Skip to content
XSS Disclosed report Intermediate

Stored XSS on vimeo.com and player.vimeo.com

The Hubnut widget's Flash file rendered the video owner's name without escaping it, allowing an attacker to inject a malicious Flash file via an image tag. This led to stored cross-site scripting on both vimeo.com and player.vimeo.com.

stefanovettorazzi Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 28 days
  • Paid in 28 days
  • Disclosed after 3 months

Description

You can share your uploaded videos using the widget Hubnut. The URL is something like https://player.vimeo.com/hubnut/user/user36690798/uploaded_videos?color=44bbff&background=000000&slideshow=0&video_title=1&video_byline=1, and I noticed that the same content is loaded for this URL https://vimeo.com/hubnut/user/user36690798/uploaded_videos?color=44bbff&background=000000&slideshow=0&video_title=1&video_byline=1. The problem is that the Flash file that shows the files uploaded by an user (https://f.vimeocdn.com/p/flash/hubnut/2.0.11/hubnut.swf) renders the Name of the owner of the video without escaping it. This allows to load an external Flash file using the <img> tag.

Proof of concept

  1. Go to https://vimeo.com/settings.
  2. Change your Name to {{media:0}}.
  3. Click on Save Changes.
  4. Go to https://vimeo.com/settings/profile.
  5. Save, for future use, the editable value of the field Vimeo URL (probably is like user36690798).
  6. Go to https://player.vimeo.com/hubnut/user/[value_from_step_5] (like: https://player.vimeo.com/hubnut/user/user36690798).
  7. alert(document.domain) is executed.
  8. Go to https://vimeo.com/hubnut/user/[value_from_step_5] (like: https://vimeo.com/hubnut/user/user36690798).
  9. alert(document.domain) is executed.

Please, let me know if something is not clear.

The original report as published on HackerOne, by stefanovettorazzi. 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

Impact

An attacker could run JavaScript in the context of vimeo.com and player.vimeo.com, as shown by an alert of the domain.

What the attacker needed

A Vimeo account; victim visits the crafted Hubnut URL

How it was found

  1. Go to the account settings page.
  2. Change the Name field to a special placeholder value.
  3. Save the changes.
  4. Go to the profile settings page and note the Vimeo URL value.
  5. Visit the Hubnut player URL with that value.
  6. Observe that JavaScript executes, and repeat on the main vimeo.com Hubnut URL.

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 Flash file used by Vimeo to show a user's uploaded videos displayed the user's name without cleaning it first. By setting their name to a special code, an attacker could make the page load a harmful Flash file, which then ran JavaScript in the victim's browser. This is called stored cross-site scripting because the malicious input is saved and shown to others.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by stefanovettorazzi

View all

17 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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.