Check: GEN000585
Title
The system must enforce compliance of the entire password during authentication. (Cat II impact)
Discussion
Some common password hashing schemes only process the first eight characters of a user's password, which reduces the effective strength of the password.
Check Content
Verify no password hash in /etc/passwd or /etc/shadow begins with a character other than an underscore (_) or dollar sign ($). # cat /etc/passwd # cat /etc/shadow If any unlocked password hash is present without an initial underscore (_) or dollar sign ($) character, this is a finding.
Fix Text
Edit /etc/security/policy.conf and add or change the CRYPT_DEFAULT setting to something other than __unix__, such as 6. Allowable values for CRYPT_DEFAULT may be found in the /etc/security/crypt.conf file. Change any passwords using non-compliant hashes.
Additional Identifiers
Rule ID:
Vulnerability ID: V-22302
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000205 |
The information system enforces minimum password length. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |