Check: GEN000750
SUSE Linux Enterprise Server v11 for System z STIG:
GEN000750
(in versions v1 r12 through v1 r9)
Title
The system must require at least eight characters be changed between the old and new passwords during a password change. (Cat II impact)
Discussion
To ensure password changes are effective in their goals, the system must ensure that old and new passwords have significant differences. Without significant changes, new passwords may be easily guessed based on the value of a previously compromised password.
Check Content
Check /etc/pam.d/common-{auth,account,password,session} for a ‘difok’ parameter on the pam_cracklib.so line. Procedure: # grep difok /etc/pam.d/common-{auth,account,password,session} If difok is not present, or has a value less than 8, this is a finding. Check for common-password inclusions. # grep -c common-password /etc/pam.d/* If the common-password file is included anywhere # grep difok /etc/pam.d/common-password If common-password is included anywhere and difok is not present, or has a value less than 8, this is a finding. Ensure the passwd command uses the common-password settings. # grep common-password /etc/pam.d/passwd If a line "password include common-password" is not found then the password checks in common-password will not be applied to new passwords and this is a finding.
Fix Text
Edit /etc/pam.d/common-password and add or edit a pam_cracklib.so entry with a difok parameter set equal to or greater than 8.
Additional Identifiers
Rule ID: SV-44881r2_rule
Vulnerability ID: V-22306
Group Title: GEN000750
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000195 |
The information system, for password-based authentication, when new passwords are created, enforces that at least an organization-defined number of characters are changed. |
Controls
Number | Title |
---|---|
IA-5(1) |
Password-based Authentication |