Password-Protected Video Metadata Disclosure via IDOR in Dailymot
A password-protected video could be added to a playlist via a GraphQL mutation without knowing the password, and once added, its title and thumbnail were visible. An attacker could confirm the existence of private videos and disclose their metadata.
Published on medium.com
I discovered an access control vulnerability in Dailymotion that allows an authenticated user without knowing a video password to view metadata (title and thumbnail) of password-protected videos. This can be achieved by abusing an IDOR (Insecure Direct Object Reference) issue in a GraphQL mutation that allows saving…
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 GraphQL mutation that adds a video to a playlist did not check whether the requester was allowed to access that password-protected video.
Impact
An attacker could bypass access control on password-protected videos, confirm their existence, and access sensitive metadata such as title and thumbnail, although video playback itself remains restricted.
What the attacker needed
An authenticated Dailymotion account; knowledge of the target video ID; a playlist owned by the attacker
How it was found
- Send a GraphQL mutation to add a video to a playlist, using the target video's ID and the attacker's playlist ID.
- Observe that the mutation returns a success status without requiring the video password.
- View the playlist to see the video's title and thumbnail.
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.
Some videos on Dailymotion can be locked with a password so only people who know it can see them. The report shows that a logged-in user could still add such a locked video to their own playlist without the password, and then see its title and picture. This means private information leaked even though the video itself could not be played.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.