IDOR & Parameter Tampering Vulnerability — How a Simple URL Change Exposed Hidden Content
A web platform served digital resources based solely on a client-supplied content identifier in the URL, with no authentication or authorisation check. An attacker could change that identifier to reach other resources, including internal, premium or private material.
The website had a page where users could view different digital resources. When I opened one of the resources (for example, a design template), I noticed the URL looked like this:
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
The backend trusted the client-supplied content parameter and never checked whether the requesting user was authorised to access that particular resource.
Impact
Anyone could view other resources, potentially exposing premium, internal or upcoming material and undermining any monetisation based on content restrictions.
What the attacker needed
No account needed; guessable or sequential identifiers
The fix
The server should validate the content identifier and check that the logged-in user is permitted to access that resource before returning it.
How it was found
- Open a resource page and note the content parameter in the URL.
- Change the content value to a different identifier.
- Load the modified URL and observe that a different resource is returned without any permission check.
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.
Many websites put an identifier in the address bar, such as a number or name, to decide which item to show. If the server trusts that identifier without checking whether you are allowed to see that item, you can simply type a different one and see someone else's content. This is called an insecure direct object reference, and the fix is for the server to check permissions every time.
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.