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
Unknown Object (File)
Wed, Apr 17, 3:15 PM
Unknown Object (File)
Thu, Apr 11, 7:24 AM
Unknown Object (File)
Thu, Apr 11, 4:27 AM
Unknown Object (File)
Fri, Apr 5, 1:06 PM
Unknown Object (File)
Sat, Mar 30, 8:28 AM
Unknown Object (File)
Sat, Mar 30, 8:28 AM
Unknown Object (File)
Sat, Mar 30, 8:28 AM
Unknown Object (File)
Mar 14 2024, 5:35 PM
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