Broken Access Control (IDOR) & Credential Leak at Legacy API Video Transcode
The legacy video transcode API endpoints lacked authentication and authorization, allowing attackers to access transcoding job information for all clips and videos, including internal staff, by guessing numeric identifiers. Additionally, a hardcoded transcode API key was found in a JavaScript file.
Published on medium.com
In this post, I will show you how I discovered a broken authentication and authorization vulnerability, known as Insecure Direct Object Reference (IDOR), at the Legacy API Video Transcode endpoints. Due to this vulnerability, attackers could access transcoding job information for all clips and videos, including those…
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 legacy API endpoints did not enforce authentication or authorization checks, allowing direct object references via predictable numeric IDs.
Impact
Attackers could access all transcoding job details, view sensitive information like filenames and upload paths, and identify unreleased content, potentially leading to financial and legal implications.
What the attacker needed
No account needed for clips endpoint; Valid session cookies for other endpoints; Guessable numeric IDs
The fix
The report recommends performing proper authentication and authorization on the affected endpoints, and removing them if they are legacy and unused.
How it was found
- Retrieve authentication cookies (access_token, remember_user_token, _vidio_session).
- Send a GET request to the clips transcode job endpoint with a guessed clip_id.
- Use the returned transcode_job_id to request the video transcode job status.
- Use the returned video_id to request the video transcode status.
- Use the video_id to fetch video details (publish status, title, publish date).
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.
The website had old video-processing features that didn't check who was asking for information. Because the IDs were simple numbers, anyone could try different numbers and see other people's video details, like file names and upload paths. This is called an IDOR (Insecure Direct Object Reference), where changing a number in a request lets you access someone else's data.
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.