Check: PHTN-67-000075
VMware vSphere 6.7 Photon OS STIG:
PHTN-67-000075
(in versions v1 r6 through v1 r5)
Title
The Photon operating system must use the pam_cracklib module. (Cat II impact)
Discussion
If the operating system allows the user to select passwords based on dictionary words, this increases the chances of password compromise by increasing the opportunity for successful guesses and brute-force attacks.
Check Content
At the command line, execute the following command: # grep pam_cracklib /etc/pam.d/system-password If the output does not return at least "password requisite pam_cracklib.so", this is a finding. NOTE: After the fix is implemented, the check will not pass until either a reboot is performed or both files are modified, which happens automatically on reboot.
Fix Text
Open /etc/applmgmt/appliance/system-password with a text editor. Comment out any existing "pam_cracklib.so" line and add the following: password requisite pam_cracklib.so dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 minlen=8 minclass=4 difok=4 retry=3 maxsequence=0 enforce_for_root Save and close.
Additional Identifiers
Rule ID: SV-239146r863032_rule
Vulnerability ID: V-239146
Group Title: SRG-OS-000480-GPOS-00225
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |