Skip to content
IDOR Write-up Beginner

Another Day Another Idor Vulnerability 5000 Reddit Bug Bounty

The Reddit moderation log endpoint did not verify that the requesting user was a moderator of the specified subreddit. An attacker could access sensitive moderator actions and messages from any subreddit by changing the subreddit name in the request.

Roberto Follow

Published on infosecwriteups.com

IDOR, or insecure direct object reference, is a common yet insecure practice of referring to objects. By “insecure”, this simply means that it is easy to figure out what the pattern of how objects are named.

Roberto, on infosecwriteups.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

Any account could access sensitive messages and moderator actions of any subreddit, potentially allowing assignment of arbitrary users as moderators or taking moderator actions without permissions.

What the attacker needed

A Reddit account; knowledge of a subreddit name

The fix

The bug was fixed according to the text.

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.

An IDOR (Insecure Direct Object Reference) happens when a website uses a predictable name or number to refer to something, like a subreddit name, and doesn't check if you're allowed to see it. Here, anyone could ask for the moderation log of any subreddit just by knowing its name, even without being a moderator. This let attackers read private moderation actions and messages.

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 Roberto

View all

10 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.