Bug 985463 - Shifting fingers on keyboard results in accepted passwords
Summary: Shifting fingers on keyboard results in accepted passwords
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libpwquality
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 14:30 UTC by Hubert Kario
Modified: 2015-05-29 11:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 09:18:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hubert Kario 2013-07-17 14:30:52 UTC
Description of problem:
If I enter password based on dictionary word, but shift my fingers on the keyboard by one row/column, the passwords are accepted as secure.

Version-Release number of selected component (if applicable):
libpwquality-1.2.2-2.fc20.x86_64
cracklib-2.9.0-1.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
(the base word is 'robustful')
echo 'tpnidygi;' | pwscore
echo 'eivyardyk' | pwscore
echo '49g7w5r7o' | pwscore
echo 'fl5jxgvj.' | pwscore
echo 'fltjxgvj.' | pwscore

Actual results:
[root@localhost smoketest]# echo 'tpnidygi;' | pwscore
15
[root@localhost smoketest]# echo 'eivyardyk' | pwscore
12
[root@localhost smoketest]# echo '49g7w5r7o' | pwscore
21
[root@localhost smoketest]# echo 'fl5jxgvj.' | pwscore
27
[root@localhost smoketest]# echo 'fltjxgvj.' | pwscore
18

Expected results:
Password quality check failed:
 The password fails the dictionary check - it is based on a dictionary word

Additional info:
Even if we assume that users pick from full set of options (wrap or no wrap in columns, wrap on number keys or wrap only on letters) it gives upper bound of 14 bits of guessing entropy.

The most common shift left, shift right add about 1 bit of guessing entropy.

Comment 1 Tomas Mraz 2013-07-17 14:51:27 UTC
You again ignore the rule choice entropy.

Comment 2 Hubert Kario 2013-07-17 15:57:44 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=985364#c2 for discussion on choice entropy.

Comment 3 Fedora End Of Life 2013-09-16 14:35:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 4 Fedora End Of Life 2015-05-29 09:11:32 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Hubert Kario 2015-05-29 11:17:25 UTC
This is a standard rule in John the Ripper, can you provide a reason for the "WONTFIX"?

Comment 6 Tomas Mraz 2015-05-29 11:32:47 UTC
Because the probability this will ever be implemented is very low.


Note You need to log in before you can comment on or make changes to this bug.