IDOR at 'media_code' when addings media to questions
The media_code parameter when saving a survey question was vulnerable to IDOR, allowing an attacker to change it to any sequential media ID and view another user's media content.
- Triaged in 27 days
- Fixed in 52 days
- Paid in 52 days
- Disclosed after 5 months
Summary:
Hi team,
When you add a question to your survey and click Save, it sends this request :

In this request, media_code is vulnerable for IDOR. If you change it to any media ID, you will see it on your question.
And these IDs are sequential. So you can access to any user's media contents.
Steps To Reproduce:
- Create a survey
- Add any question like
Free Textand open your proxy program - Click to question and click
Save - Your proxy program will catch the request
- Change the
media_codeparameter's value to a 7 digit number. Like2013124(my media content) - Send the request, you will see the victim's media.
Impact
Access to user's media contents
Thanks, Bugra
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
Root cause
Likely the server did not verify that the media_code belonged to the authenticated user before attaching it to the question.
Impact
An attacker could access other users' media contents by guessing sequential IDs.
What the attacker needed
A user account; ability to create a survey; a proxy tool to intercept requests
How it was found
- Create a survey.
- Add a question and open a proxy program.
- Click the question and click Save.
- The proxy catches the request.
- Change the media_code parameter to a 7-digit number.
- Send the request and see the victim's media.
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.
An IDOR (Insecure Direct Object Reference) happens when a website uses a simple identifier, like a number, to refer to something you own, but does not check that you actually own it. Here, the media_code number could be changed to someone else's number, and the site would show their media without asking for permission.
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.