UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must use a FIPS 140-2 approved cryptographic hashing algorithm for generating account password hashes.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22303 GEN000590 SV-63943r2_rule Medium
Description
Systems must employ cryptographic hashes for passwords using the SHA-2 family of algorithms or FIPS 140-2 approved successors. The use of unapproved algorithms may result in weak password hashes more vulnerable to compromise.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2018-03-01

Details

Check Text ( C-52443r2_chk )
Verify the algorithm used for password hashing is of the SHA-2 family.
# egrep "password .* pam_unix.so" /etc/pam.d/system-auth-ac

# egrep "ENCRYPT_METHOD" /etc/login.defs

# egrep "crypt_style" /etc/libuser.conf

If any output indicates the hash algorithm is not set to sha256 or sha512, this is a finding.
Fix Text (F-54513r2_fix)
Change the default password algorithm.
# authconfig --passalgo=sha512 --update

NOTE: Executing the above command will also update the required parameters in /etc/login.defs and /etc/libuser.conf