UCF STIG Viewer Logo

If the system is using LDAP for authentication or account information, the TLS certificate authority file and/or directory (as appropriate) must have mode 0644 (0755 for directories) or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-227066 GEN008180 SV-227066r603265_rule 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.
STIG Date
Solaris 10 SPARC Security Technical Implementation Guide 2020-12-04

Details

Check Text ( C-29228r485573_chk )
Check if the system is using NSS LDAP.
# grep -v '^#' /etc/nsswitch.conf | grep ldap
If no lines are returned, this vulnerability is not applicable.

Verify the mode of the certificate database files.
# ls -lL /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db
If the mode of any of the files is more permissive than 0644, this is a finding.
Fix Text (F-29216r485574_fix)
Change the mode of the certificate database files.
# chmod 0644 /var/ldap/cert8.db /var/ldap/key3.db /var/ldap/secmod.db

NOTE: Some SAs may prefer to set the permissions to 0600. This is acceptable.