Page MenuHomePhabricator

Add a common password blacklist
ClosedPublic

Authored by epriestley on Jan 23 2014, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 6:07 AM
Unknown Object (File)
Sun, Dec 15, 12:16 PM
Unknown Object (File)
Wed, Dec 11, 6:13 AM
Unknown Object (File)
Mon, Dec 9, 4:28 PM
Unknown Object (File)
Fri, Dec 6, 7:07 AM
Unknown Object (File)
Fri, Dec 6, 6:37 AM
Unknown Object (File)
Nov 27 2024, 5:45 AM
Unknown Object (File)
Nov 23 2024, 11:28 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T4143: Add a common password blacklist
Commits
Restricted Diffusion Commit
rP02aa193cb05e: Add a common password blacklist
Summary

Fixes T4143. This mitigates the "use a botnet to slowly try to login to every user account using the passwords '1234', 'password', 'asdfasdf', ..." attack, like the one that hit GitHub.

(I also donated some money to Openwall as a thanks for compiling this wordlist.)

Test Plan
  • Tried to register with a weak password; registered with a strong password.
  • Tried to set VCS password to a weak password; set VCS password to a strong password.
  • Tried to change password to a weak password; changed password to a strong password.

Diff Detail

Branch
csrf7
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

src/applications/diffusion/panel/DiffusionSetPasswordPanel.php
75

A couple of users have been vaguely confused by this, I attempted to reword for clarity.

The word list is very interesting... Nice call on the strtolower normalization I think.

externals/wordlist/password.lst
30

we had a problem at Harvard where a user assistant (the job Dustin and I had) told users who were having problems satisfying the password constraints to use this as their password... oy vey