Able to approve admin approval and change effective status without adding payment details .
The ads API accepted client-supplied values for the admin approval and effective status fields when updating an ad, so a user could mark their own ad as approved and active. This let an attacker skip Reddit's ad review and payment step and have the ad delivered.
- Triaged in 22 hours
- Fixed in 29 hours
- Paid in 27 hours
- Disclosed after 2 months
Summary:
In https://ads.reddit.com/ you can create campaign under which you can create ads , once you create new campaign , it is on pending stage and will not be delivered unless you add payment details and is reviewed by admin and approved according to what it says here https://advertising.reddithelp.com/en/categories/ad-review/about-reddits-ad-review-process . But changing the value of admin_approval to APPROVED and effective_status to ACTIVE , the ads is approved and thus we receive the confirmation email from reddit ads that our ads is approved .
Impact:
Can bypass the review process and change the ads status to approve and active without payment process .
Steps To Reproduce:
[add details for how we can reproduce the issue]
- Create a campaign from https://ads.reddit.com
- Go to https://ads.reddit.com/dashboard, you will see a table list that shows your ads and campaign , there the status is stated as PENDING . And we know according to what reddit says , our ads needs to get reviewed by reddit members , but updating the value from api changes our status to ACTIVE . Hence ad is successfully delivered .
POC video is attached .
███████
PATCH /api/v2.0/accounts/█████/ads/██████████ HTTP/2
Host: ads-api.reddit.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://ads.reddit.com/
Authorization: bearer token
Content-Type: application/json
Origin: https://ads.reddit.com
Content-Length: 101
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
X-Pwnfox-Color: magenta
Te: trailers
{"data":
{"configured_status":"ACTIVE",
"effective_status":"ACTIVE",
"admin_approval":"APPROVED"
}}
Supporting Material/References:
- [attachment / reference]
Impact
Can bypass the review process and change the ads status to approve and active without payment process .
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the ad update endpoint accepted privileged status fields such as admin_approval and effective_status from the client instead of setting them only on the server after review and payment.
Impact
An attacker could bypass the ad review process and get ads approved and delivered without adding payment details.
What the attacker needed
An ads account; ability to send API requests
How it was found
- Create a campaign and an ad in the ads dashboard.
- Observe that the ad shows as pending in the dashboard table.
- Send an update request to the ads API that sets the approval and status fields to approved and active.
- See the ad become active and receive a confirmation email that it was approved.
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 report has not been written yet. The Original tab links to the source.
When you create an ad, the platform is supposed to check it and confirm payment before showing it to people. Here the server trusted the user's own request to say the ad was already checked and live. That means a user could approve their own ad and get it shown without paying or being reviewed.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.