Skip to content
Account takeover Disclosed report Intermediate

Able to bypass email verification and change email to any other user email

An unverified user could add an email field to an account update request, which caused the new email to be marked as verified and allowed them to accept invites meant for that email. This let an attacker take over invites to ads teams and assume the invitee's role.

bisesh Follow

Originally disclosed on HackerOne

Bounty$5,000 High View original
  • Triaged in 3 days
  • Fixed in 8 days
  • Paid in 7 days
  • Disclosed after 10 days

Summary by the program

The reporter discovered they were able to hijack invites to other ads teams by adding the extra field, email, to a request that would allow them to bypass email verification. By doing so they were able to accept invites to ads teams on behalf of others and assume the role of the invitee with their own account.

A snippet of the PoC is included in this summary below.


Steps to reproduce

  1. Create an account with any email you wish from https://ads.reddit.com
  2. Don't verify your email
  3. Go to https://ads.reddit.com/account/account_id/inventory-type and set any value to capture the request .
  4. Change your email to any arbitrary email.
  5. Your email will be "verified" and you will be able to accept invites sent to the target email if that email had an invite to an ads team.
PATCH /api/v2.0/accounts/<account_id> 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: ████████
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
Cache-Control: max-age=0
Te: trailers

{"data":{"brand_safety_tier_preference":"EXPANDED",
"email":"█████"
}}

The original report as published on HackerOne, by bisesh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 account update endpoint accepted an email field without requiring the normal verification step, and marked the new address as verified automatically.

Impact

An attacker could accept ads team invites on behalf of another person and take on the invitee's role using their own account.

What the attacker needed

A free account on the ads site; an invite sent to the target email

How it was found

  1. Create an account on the ads site with any email.
  2. Do not verify the email.
  3. Go to the account inventory-type page and capture the request.
  4. Change the email in the request to an arbitrary target email.
  5. The email becomes verified and you can accept invites sent to that target email.

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 sign up, the site usually sends a link to your email to prove it is yours. Here, the attacker found that by adding an extra email field to a normal account update request, the site skipped that proof and treated the new email as already confirmed. That meant they could accept invitations that were sent to someone else's email address.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by bisesh

View all

1 more disclosed report, best first.

More from Reddit

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.