Skip to content
Access control Disclosed report Beginner

Adding profile picture to anyone on Vimeo

The profile picture upload feature did not check that the profile ID in the upload request belonged to the logged-in user. An attacker could change that ID to another account's profile ID and set that account's profile picture, and because IDs are incremental and there was no rate limiting, this could in theory be done for every account.

Mathias Karlsson Follow

Originally disclosed on HackerOne

  • Fixed in 44 hours
  • Paid in 44 hours
  • Disclosed after 44 days

Hi!

Brief The profile picture upload feature at https://vimeo.com/settings/profile contains a bug where an access control is missing for uploading a profile picture to a profile ID. This leads to the possibility of uploading a profile picture to any account on Vimeo. Furthermore, since the upload doesn't have any rate limiting, it would in theory be possible to add a picture to every Vimeo account that exists (since the profile IDs are incremental).

PoC

  1. Set up an intercepting proxy so that you can edit requests/responses to Vimeo
  2. Visit https://vimeo.com/settings/profile
  3. Click the "Upload" button
  4. Choose any image
  5. If you did everything correct, your browser should now send a request to /upload/_get_image_url with 2 post parameters. One of them is called "id". Change this id to another profile id then forward the request.
  6. Your uploaded picture is now added to the other profile!

Remediation The profile picture upload function should only work for the currently logged in users profile ID.

Mathias

The original report as published on HackerOne, by avlidienbrunn. 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 upload endpoint trusted the client-supplied profile ID and never verified it matched the authenticated user's own profile.

Impact

An attacker could change the profile picture of any account, and in theory, given incremental IDs and no rate limiting, could do so for every account that exists.

What the attacker needed

A Vimeo account; an intercepting proxy

How it was found

  1. Set up an intercepting proxy to edit requests and responses to the site.
  2. Open the profile settings page.
  3. Click the upload button and choose an image.
  4. In the request to the image URL endpoint, change the profile id parameter to another profile id and forward it.
  5. The uploaded picture is then added to the other profile.

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 profile picture, your browser sends a request that includes a number identifying which profile the picture is for. The site should check that this number matches the account you are logged in as, but it did not. So someone could swap in another person's number and change their picture without permission.

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.

More by Mathias Karlsson

View all

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

Broken access control

The lesson behind this report.

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.