Page MenuHomePhabricator

Add a rate limit to requesting account recovery links from a given remote address
ClosedPublic

Authored by epriestley on Jul 19 2019, 5:02 PM.
Tags
None
Referenced Files
F13082302: D20667.diff
Wed, Apr 24, 10:05 PM
Unknown Object (File)
Sun, Apr 21, 4:12 PM
Unknown Object (File)
Fri, Apr 19, 9:05 PM
Unknown Object (File)
Fri, Apr 19, 3:18 AM
Unknown Object (File)
Fri, Apr 19, 3:18 AM
Unknown Object (File)
Fri, Apr 19, 3:17 AM
Unknown Object (File)
Wed, Apr 17, 3:15 PM
Unknown Object (File)
Thu, Apr 11, 7:24 AM
Subscribers
None

Details

Summary

Depends on D20666. Ref T13343. In D20666, I limited the rate at which a given user account can be sent account recovery links.

Here, add a companion limit to the rate at which a given remote address may request recovery of any account. This limit is a little more forgiving since reasonable users may plausibly try multiple variations of several email addresses, make typos, etc. The goal is just to hinder attackers from fishing for every address under the sun on installs with no CAPTCHA configured and no broad-spectrum VPN-style access controls.

Test Plan

Screen Shot 2019-07-19 at 9.57.53 AM.png (894×1 px, 156 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable