Check: GEN008050
HP-UX 11.31 STIG:
GEN008050
(in versions v1 r19 through v1 r13)
Title
If the system is using LDAP for authentication or account information, the /etc/ldap.conf file (or equivalent) must not contain passwords. (Cat II impact)
Discussion
The authentication of automated LDAP connections between systems must not use passwords since more secure methods are available, such as PKI and Kerberos. Additionally, the storage of unencrypted passwords on the system is not permitted.
Check Content
Determine if the system uses LDAP. If it does not, this is not applicable. # swlist | grep LDAP OR # cat /etc/nsswitch.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -i ldap If the product is installed: ls -lL /etc/opt/ldapux/acred /etc/opt/ldapux/pcred The user credentials are stored in the pcred and acred files, including the password. While these credentials are not visible as plain text, the pcred and acred files are not encrypted. If either of the above unencrypted files exists, this is a finding.
Fix Text
Consult vendor documentation for the procedures for configuring LDAP for authentication and account information. Remove any passwords from unencrypted LDAP configuration files.
Additional Identifiers
Rule ID: SV-38414r1_rule
Vulnerability ID: V-24384
Group Title: GEN008050
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000196 |
The information system, for password-based authentication, stores only cryptographically-protected passwords. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |