Can use <space> as a password

Bug #1767815 reported by Dhiraj
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Hi Team,

I am not sure about this, but thought of reporting tho!.

warmachine@ftw:~$ uname -a
Linux ftw 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

However, while creating a user `sudo adduser test` I can keep only <space's> has my password for test user.

Could someone please look into this and advise me for same. I believe password must be robust or only <spaces> should not be allowed.

Thank you
DM

Colin Watson (cjwatson)
affects: launchpad → shadow (Ubuntu)
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello Dhiraj, thanks for the report. The passwd utility assumes root knows best and allows root to set any password to anything no matter how poor.

You can use the pam_cracklib(8) PAM module to enforce some minimum quality levels for your passwords when users set their own -- but of course frustrated users may pick bad passwords this module doesn't know how to discover.

Thanks

information type: Private Security → Public Security
Changed in shadow (Ubuntu):
status: New → Won't Fix
Revision history for this message
Dhiraj (mishra-dhiraj95) wrote :

Arrgh! I see however can we assign a CVE for this issue, I believe the issue still exists in the environment, I request for a CVE or please advise for same.

Cheers!

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

There is no CVE to assign, as there is no flaw here.

As an administrator, you are requesting that the password be a space, and the system allows it since the administrator knows best. This is expected behaviour. If you don't want the password to be a space, enter an adequate password.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.