Skip to content
Access control Disclosed report Beginner

A user can edit comments even after video comments are disabled

A user could edit their own comments on a video even after the video owner disabled comments, by replaying a previously captured edit request. This allowed bypassing the comment-disabled restriction.

satishb3 Follow

Originally disclosed on HackerOne

  • Fixed in 8 hours
  • Paid in 8 hours
  • Disclosed after 29 hours

A user can escalate privileges and edit his previous comments, when comments are disabled for a video.

Steps to verify:

  1. Log into vimeo.com as Alice. Upload a video (say, video id - 118026546) and allow anyone to leave comments for that video .

  2. Login as Bob and navigate to the video URL - https://vimeo.com/118026546.

  3. Leave a comment. Edit that comment and capture the request using burp proxy. Captured request looks like -

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

    text=abcd&action=edit_comment&comment_id=12984882&token=[...]

  4. From Alice account, change the video settings and do not allow anyone to comment.

  5. From Bob account, access the video url (https://vimeo.com/118026546) and it displays 'Sorry, comments have been disabled by the owner of this video' message. At this point Bob can't add new comments or edit previous comments. However, Bob can edit his previous comments by replaying the request captured in step 3.

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

What the attacker needed

An account; a video with comments enabled; attacker has previously commented

How it was found

  1. Log in as Alice, upload a video, and allow comments.
  2. Log in as Bob, go to the video, leave a comment, and capture the edit request.
  3. As Alice, disable comments for the video.
  4. As Bob, visit the video and see that comments are disabled.
  5. Replay the captured edit request to edit the previous comment.

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 a video owner turns off comments, the website should stop all comment changes. Here, the server still accepted an old edit request, so a user could change a comment they had already posted.

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.