UCF STIG Viewer Logo

If the system is using LDAP for authentication or account information, the LDAP TLS key file must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22573 GEN008340 SV-38396r1_rule ECLP-1 Medium
Description
LDAP can be used to provide user authentication and account information, which are vital to system security. The LDAP client configuration must be protected from unauthorized modification. NOTE: Depending on the particular implementation, group and other read permission may be necessary for unprivileged users to successfully resolve account information using LDAP. This will still be a finding, as these permissions provide users with access to system authenticators.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-36783r1_chk )
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 nothing is returned for either of the above commands, this is not applicable.

If LDAP is installed, check the mode of the key file.
# ls -lLa /etc/opt/ldapux/key3.db

If the file permission is more permissive than 0600, this is a finding.
Fix Text (F-32163r1_fix)
Change the mode of the file.
# chmod 0600