Broken Access Control: How I Found (and Exploited) an EdTech Plat
The platform issued signed video URLs with expiration dates over a year away, so anyone who obtained a URL could download paid course videos without authentication. An attacker with a basic account could copy the URL and use ffmpeg to download the content.
Published on akashmadanu.medium.com
So here’s the thing. I didn’t set out to find a vulnerability.
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 signed URLs had an excessively long expiration time and the server did not also check the user's session or permissions on each request.
Impact
Anyone with a basic account could download and share paid course videos, causing intellectual property theft and revenue loss for the platform and creators.
What the attacker needed
A valid account with access to a paid course; ability to use browser developer tools; ffmpeg or similar tool to download
The fix
The platform should drastically reduce the signed URL expiration time, add server-side session validation, implement DRM, and monitor for abnormal activity; the text says the platform acknowledged the issue and is working on fixes.
How it was found
- Log into the platform with any valid account that has access to a paid course
- Navigate to a course with video content
- Open Browser Developer Tools and go to the Network tab
- Filter requests by typing .m3u8
- Play the video and find the .m3u8 request
- Right-click the request and copy the full URL
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.
A signed URL is a link that includes a secret code proving it was created by the server, so the server trusts it without checking who you are. Here the link stayed valid for over a year, so once someone copied it they could download the video from anywhere without logging in. This is like a door key that never expires and works for anyone who finds it.
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.