fablabbcn/fablabs.io

Add trotelling to Recovery controller

pral2a opened this issue · 0 comments

Describe the bug
Looks like recovery password controller doesn't limit the number of requests, allowing someone to programatically use it to generate email spam or overload the SMTP service

To Reproduce
Steps to reproduce the behaviour:

  1. Go to https://www.fablabs.io/recoveries/new
  2. Type your email and click Reset password
  3. Repeat multiple times in a short period
  4. Check your inbox

Expected behaviour
Rate limit password resets by email to X amount per hour. Other limitation (ip) can also be used.

Additional context
The issue was reported by an unknown user at webmasters (at) fablabs.io. This is not a high priority issue.

image (4)