Skip to content
Access control Disclosed report Intermediate

A user can post comments on other user's private videos

A user could still post comments on another user's video after that video was made private, because the comment endpoint did not re-check viewing permission. An attacker who had previously captured a comment request could replay it to comment on a video they were no longer allowed to see.

satishb3 Follow

Originally disclosed on HackerOne

  • Fixed in 1 hour
  • Paid in 1 hour
  • Disclosed after 20 hours

It is possible for a user to post comments on other's private videos.

Steps to verify:

  1. Log into www.vimeo.com as Alice and create a video (say, AliceVideo with id - 118026546) with 'Allow anyone to see my videos' setting.

  2. Login as Bob and create an album (say, BobAlbum with album id 3295969).

  3. From Bob, navigate to the AliceVideo URL - https://vimeo.com/118026546. Click collections and add video to BobAlbum.

  4. Navigate to BobAlbum and click the AliceVideo. The URL will looks like, https://vimeo.com/album/3295969/video/118026546

  5. Add a new comment and capture the request using burp proxy. Captured request looks like,

    POST /118026546 HTTP/1.1 Host: vimeo.com [...]

    text=test&action=add_comment&token=...&version=...&group_id=3295969&context_id=3295969&context_type=album&add_comment=Add%20a%20new%20comment

  6. From Alice account, make AliceVideo as private (check 'only me'->'apply to all existing videos' setting).

  7. From Bob account, access the AliceVideo URL (https://vimeo.com/album/3295969/video/118026546) and it displays 'permssion denied' message. At this point, Bob can't view the video or leave comments. However, Bob can post comments on the private video by replaying the request captured in step 5.

The original report as published on HackerOne, by satishb3. 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 comment submission endpoint authorised the request using the album context rather than re-checking whether the requesting user could currently view the video.

Impact

A user could post comments on another user's private video, even though the video page itself denied access.

What the attacker needed

Two accounts; attacker previously added the video to an album; captured comment request

How it was found

  1. Log in as Alice and create a public video.
  2. Log in as Bob and create an album.
  3. As Bob, add Alice's video to his album.
  4. Open the video through the album URL and submit a comment while capturing the request.
  5. As Alice, set the video to private for all existing videos.
  6. As Bob, confirm the video page is denied, then replay the captured comment request and see the comment accepted.

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 video site lets the owner decide who can see a video. When the owner switched a video to private, the page correctly refused to show it, but the separate action that saves a comment did not check the same rule. So someone who had saved an earlier comment request could send it again and still leave comments on a video they could no longer watch.

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 satishb3

View all

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