Skip to content
Account takeover Disclosed report Beginner

Rate Limit too lenient for endpoint sending emails

The password reset endpoint lacked a strict rate limit, so an attacker could send many reset emails to a victim. This could flood the victim's inbox with password reset links.

harshita174 Follow

Originally disclosed on HackerOne

Informational View original
  • Fixed in 2 hours
  • Disclosed after 13 months

Rate-limiting is a process that is used to define the rate at which consumers can access APIs. Also, it determines the speed at which a consumer can access APIs. Rate limit is calculated in real time.

How to reproduce?

  1. Sign-up for the account for WakaTime. Domain - www.wakatime.com
  2. After signing up login to the caviar account with login credentials
  3. Then,press forgot password and enter your email or temporary email address i.e https://temp-mail.org 4. Open burpsuite and intercept the request from browser ,if you get the intercepted request.
  4. Send the intercepted request to the intruder, In target section check the Host and Port section . In Positions section, clear all $signs and add $ sign to the anyone parameter In Payload section, add payload type to Numbers and set Numbers range.
  5. After all settings done press start attack, and the attack started till it reaches the Number range that we will set in the Payload sections.
  6. And you will get the mail regarding to the password reset links to your mail box.

HTTP Request-

POST /api/v1/users/reset_password HTTP/1.1 Host: wakatime.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 Accept: / Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://wakatime.com/ Content-Type: application/json X-CSRFToken: ad5d275dc3197936cc18040ae1882e89b04b6cf5b6d891d0dc337b38792f61b4 X-Requested-With: XMLHttpRequest Content-Length: 34 Connection: close

Impact

The user will get continuous email ragarding to password reset links till the attack stop.

Attachments

Screenshot_(173).png
Screenshot_(173).png From the original on HackerOne

The original report as published on HackerOne, by harshita174. 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

What the attacker needed

A free account; victim's email address; Burp Suite

How it was found

  1. Sign up and log in to WakaTime.
  2. Use the forgot password feature and enter an email address.
  3. Intercept the password reset request with Burp Suite.
  4. Send the request to Intruder and set a payload position on a parameter.
  5. Configure a number payload range and start the attack.
  6. Observe that many password reset emails are sent.

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 rate limit caps how often a feature can be used. Here the password reset feature allowed many requests, so someone could make the system send lots of reset emails to a person.

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 harshita174

View all

2 more disclosed reports, best first.

More from WakaTime

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.