Weblate: Rate Limit Issue on hosted.weblate.org

ID H1:229825
Type hackerone
Reporter imran_hadid
Modified 2017-07-02T09:52:58



Rate limit issue exist in hosted.weblate.org. An attacker can able to send as many email as he want to the victim mail. The attacker can successfully bruteforce on any users mail account even when the rate limiting is enabled.

Step to reproduce :

  1. sign up and login to a hosted.weblate.org
  2. Go to Password reset option
  3. Enter an email address.
  4. Set up a proxy server (i used burp)
  5. Configure your browser(firefox in my case) to work with the proxy server
  6. Click on "Reset my password" button
  7. Intercept the request
  8. Send to Intruder
  9. set position as your given email
  10. set payload as many time you want to send mail
  11. click on start attack

The victim will get mail as the number of payload you added. In my case i added upto 300 time and it hit into my mail box upto 300 time.


``` POST /accounts/reset/ HTTP/1.1 Host: hosted.weblate.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Content-Type: application/x-www-form-urlencoded Content-Length: 135 Referer: https://hosted.weblate.org/ Cookie: csrftoken=csrftoken_here Connection: keep-alive Upgrade-Insecure-Requests: 1

csrfmiddlewaretoken=csrfmiddlewaretoken_here&email=email@here.com&content=&captcha=captcha_here ```