UCF STIG Viewer Logo

The SLES for vRealize must enforce password complexity by requiring that at least one special character be used.


Overview

Finding ID Version Rule ID IA Controls Severity
V-240496 VRAU-SL-000925 SV-240496r671229_rule Medium
Description
Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity or strength is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. Password complexity is one factor in determining how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Special characters are those characters that are not alphanumeric. Examples include: ~ ! @ # $ % ^ *.
STIG Date
VMware vRealize Automation 7.x SLES Security Technical Implementation Guide 2021-06-24

Details

Check Text ( C-43729r671227_chk )
Verify the SLES for vRealize enforces password complexity by requiring that at least one special character be used by using the following command:

Check the password "ocredit" option:

# grep pam_cracklib.so /etc/pam.d/common-password

Confirm the "ocredit" option is set to "-1" as in the example:

password requisite pam_cracklib.so ocredit=-1

There may be other options on the line.

If no such line is found, or the "ocredit" is not "-1", this is a finding.
Fix Text (F-43688r671228_fix)
Configure the SLES for vRealize to enforce password complexity by requiring that at least one special character be used:

If "ocredit" was not set at all in /etc/pam.d/common-password-vmware.local then run the following command:

# sed -i '/pam_cracklib.so/ s/$/ ocredit=-1/' /etc/pam.d/common-password-vmware.local

If "ocredit" was set incorrectly then run the following command:

# sed -i '/pam_cracklib.so/ s/ocredit=../ocredit=-1/' /etc/pam.d/common-password-vmware.local