Skip to content
Access control Write-up Beginner

Why This Simple Mistake Earned A 5000 Bug Bounty From Reddit

A broken access control flaw on Reddit's advertising platform allowed a user to bypass admin approval and activate their own ad campaign without payment. The attacker could approve ads without paying, potentially causing financial loss to Reddit.

Roberto Follow

Published on infosecwriteups.com

Refactoring code is common place, especially as a code base grows, more complexity is added to existing functionality, and new technologies are introduced that improve performance. Refactoring is usually a pain in the ass since you have to make sure everything that was once working still works in the new format.

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

Root cause

Likely a refactoring mistake moved the privilege check elsewhere, so the PATCH endpoint no longer verified admin rights.

Impact

An attacker could activate ad campaigns without payment or admin approval, potentially costing Reddit significant revenue.

What the attacker needed

A Reddit ads account; ability to send custom HTTP requests

How it was found

  1. Create an ad campaign on ads.reddit.com.
  2. Send a PATCH request to modify the campaign's admin_approval and effective_status fields.
  3. The ad campaign becomes approved and active without admin review or payment.

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.

This bug is about missing permission checks. Normally, only Reddit admins can approve ads after payment. But the attacker found a way to send a request that made the system think the ad was already approved, so they could run ads for free.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Roberto

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.