Skip to content
IDOR Write-up Beginner

broken access control IDOR in Reddit $$

The Reddit Ads API endpoint that returns business account permissions did not check whether the caller belonged to the requested business, so any authenticated user could read another business's member IDs, roles and business identifier by changing the business ID in the URL. The researcher could only read this data; attempts to delete members or escalate roles were blocked.

medium.com

Published on medium.com

it started as another day of poking around Reddit's advertising platform. As a security researcher, I'm always curious about how platforms handle the delicate balance between functionality and security—especially when money and business data are involved.

Aksoum Abderrahmane, 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

Impact

An authenticated user could read other businesses' internal member IDs, roles and business identifiers, but could not modify or delete anything because those endpoints enforced proper authorisation.

What the attacker needed

A Reddit Ads account; knowledge of a target business ID

How it was found

  1. Observe the permissions query API call while using the Reddit Ads portal.
  2. Send the same request with your own business ID and note the normal response.
  3. Resend the request with a different business ID in the URL path.
  4. Receive another business's member ID, role and business identifier in the response.

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 business account on Reddit's ad platform has an ID number. The website asks the server 'who has access to business X?' but the server never checked that the person asking actually owns business X. By swapping in someone else's ID, the researcher could see that business's members and their roles, though not change anything.

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.

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.