fablabs.io icon indicating copy to clipboard operation
fablabs.io copied to clipboard

Add trotelling to Recovery controller

Open pral2a opened this issue 3 years ago • 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)

pral2a avatar Feb 14 '22 09:02 pral2a