Skip to content
IDOR Write-up Beginner

How These Idor Vulnerability Earned 5000 Hackerone Reddit Bug Bounty

Reddit's GraphQL API allowed an attacker to modify any user's custom profile links by changing an identifier in the request. The attacker could also retrieve the necessary link identifiers from other users' profiles, enabling unauthorised changes.

Fırat Follow

Published on infosecwriteups.com

IDOR, Insecure Direct Object Refference is a broad yet potentially a critical vulnerability. This type of vulnerability occurs when an application does not properly validate user input.

Fırat, 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

An attacker could modify any Reddit user's custom profile links, potentially damaging their reputation or redirecting visitors to malicious sites.

What the attacker needed

A Reddit account; knowledge of a target username

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) is a bug where a website uses an identifier, like a number or code, to refer to something such as a user's profile link, but does not check that the person making the request is allowed to change it. Here, by swapping the identifier, an attacker could edit anyone's profile links without permission.

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 Fırat

View all

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