Skip to content
IDOR Write-up Beginner

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.

hellother18 Follow

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…

Manthan_ mahale, on medium.com

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

  1. Create two accounts on the platform.
  2. Send a friend request from the first account to the second.
  3. Start sharing a form with the second account and intercept the request.
  4. Change the form identifier in the request to another form's identifier and forward it.
  5. 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.

More by hellother18

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.