Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sleep() from the password modules #1848

Merged
merged 1 commit into from Jun 19, 2020
Merged

Conversation

leofeyer
Copy link
Member

Because

  1. the effect is marginal and can even encourage timing attacks,
  2. we already have real brute force protection for logins,
  3. it will mislead people to believe that sleep(2) is an appropriate means to mitigate brute force attacks (see Prevent brute force in ModuleCloseAccount #1769), which it is definitely not!

@leofeyer leofeyer added the bug label Jun 19, 2020
@leofeyer leofeyer added this to the 4.10 milestone Jun 19, 2020
@leofeyer leofeyer requested a review from a team June 19, 2020 13:49
@leofeyer leofeyer self-assigned this Jun 19, 2020
@leofeyer leofeyer merged commit 333de5c into contao:master Jun 19, 2020
@leofeyer leofeyer deleted the fix/sleep branch June 19, 2020 14:37
AlexejKossmann pushed a commit to AlexejKossmann/contao that referenced this pull request Apr 6, 2021
Description
-----------

Because

1. the effect is marginal and can even encourage timing attacks,
2. we already have real brute force protection for logins,
3. it will mislead people to believe that `sleep(2)` is an appropriate means to mitigate brute force attacks (see contao#1769), which it is definitely not!

Commits
-------

1aaab19 Remove sleep() from the password modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants