Skip to content
Business logic Disclosed report Beginner

No rate limiting for confirmation email lead to email flooding

The endpoint that resends a confirmation email had no rate limiting, so an authenticated user could repeat the request in a loop. This let an attacker flood a victim's inbox with confirmation emails.

muhammaddaffa Follow

Originally disclosed on HackerOne

  • Paid in 28 days
  • Disclosed after 29 days

Description:

There is no rate limiting implemented in sending the confirmation email. Thus, attacker can use this vulnerability to bomb out the email inbox of the victim.

Affected URL:

https://biz.yelp.com/welcome/resend_confirmation

with POST method

Details:

  1. Login to biz.yelp.com
  2. Go to https://biz.yelp.com/messaging/xxxxxxxxxxxxxxx/inbox, it should look like this
    biz.png
    biz.png From the original on HackerOne
  3. Press Re-send email then capture the request, it should like this
POST /welcome/resend_confirmation HTTP/1.1
Host: biz.yelp.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://biz.yelp.com/messaging/xxxxxxxxxxxxxxxxxxxxxxxxxxx/inbox
Content-Type: application/x-www-form-urlencoded
Content-Length: 129
Origin: https://biz.yelp.com
Connection: close
Cookie: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Upgrade-Insecure-Requests: 1

csrftok=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&return_url=%2Fmessaging%2Foj517fznD2Gw2v5CUUIw_Q%2Finbox
  1. Send the captured request to Intruder and repeat the request in loop
  2. Check the email, your email will be flooded by yelp confirmation email
    impact.png
    impact.png From the original on HackerOne

How to fix:

Rate limiting should be implemented

Impact

Email Flooding

The original report as published on HackerOne, by muhammaddaffa. 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 resend-confirmation endpoint lacked any per-user or per-address rate limit, so repeated requests were all processed.

Impact

An attacker could flood a victim's email inbox with confirmation messages, which may be a nuisance or disrupt the mailbox.

What the attacker needed

A logged-in business account; ability to capture and replay requests

The fix

Rate limiting should be implemented on the resend-confirmation endpoint.

How it was found

  1. Log in to the business portal.
  2. Open the messaging inbox page.
  3. Press resend email and capture the resulting request.
  4. Send the captured request to an intruder tool and repeat it in a loop.
  5. Check the mailbox and observe it flooded with confirmation emails.

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.

A confirmation email is a message a site sends to check that an address really belongs to you. Normally a site limits how often you can ask for one, but here it did not, so someone could keep pressing the resend button automatically and fill the victim's inbox with messages.

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.

More by muhammaddaffa

View all

4 more disclosed reports, best first.

More from Yelp

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.