IDOR — Exposing private forms $$
The share-form feature accepted a form identifier supplied by the client without checking that the caller owned that form. An attacker could share any other user's private form with their own account and then view its responses.
Published on medium.com
Hey, everyone! I’m Manthan, and today I’m going to share an interesting find from one of my recent explorations on a target which is something like forms sharing platform, we’ll refer to as “forms.com.” This discovery involves a sneaky little vulnerability known as Insecure Direct Object References (IDOR), and it…
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 server authorised the share action only against the caller's relation identifier and never checked that the caller owned the form identifier being shared.
Impact
An attacker could share and then view any user's private form and its responses without the owner's knowledge.
What the attacker needed
Two accounts on the platform; a friend request between them; ability to intercept and edit requests
How it was found
- Create two accounts on the platform.
- Send a friend request from the first account to the second.
- Start sharing a form with the second account and intercept the request.
- Change the form identifier in the request to another form's identifier and forward it.
- Log in as the second account and open the forms-to-fill section to see the shared form.
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 website often uses hidden numbers to refer to things like forms or accounts. If the server trusts whatever number the browser sends, a user can swap in someone else's number and reach data that is not theirs. This is called an insecure direct object reference, or IDOR.
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.