How I was able to see likes and dislikes count which is hidden by victim | YouTube #1
YouTube's hidden like/dislike count feature could be bypassed by sending a specific API request to a different endpoint that returned the counts. An attacker could view the like and dislike counts of any video where the uploader had chosen to hide them.
I had a long break from bug bounty so I am writing this post after a long time. Today I am going to write about one of my recent finding on Google.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint used for YouTube Reels did not enforce the same privacy setting as the main video page, returning like/dislike counts regardless of the video's hidden status.
What the attacker needed
Victim has hidden like count; attacker knows video ID
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 write-up has not been written yet. The Original tab links to the source.
YouTube lets video owners hide the number of likes and dislikes. The researcher found that a different part of YouTube's system still gave out those numbers if you asked in a certain way. This meant anyone could see the hidden counts.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.