UCF STIG Viewer Logo

The operating system must implement cryptography to protect the integrity of Lightweight Directory Access Protocol (LDAP) communications.


Overview

Finding ID Version Rule ID IA Controls Severity
V-72229 RHEL-07-040190 SV-86853r2_rule Medium
Description
Without cryptographic integrity protections, information can be altered by unauthorized users without detection. Cryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the key used to generate the hash.
STIG Date
Red Hat Enterprise Linux 7 Security Technical Implementation Guide 2017-12-14

Details

Check Text ( C-72463r1_chk )
Verify the operating system implements cryptography to protect the integrity of remote LDAP access sessions.

To determine if LDAP is being used for authentication, use the following command:

# grep -i useldapauth /etc/sysconfig/authconfig
USELDAPAUTH=yes

If USELDAPAUTH=yes, then LDAP is being used.

Check for the directory containing X.509 certificates for peer authentication with the following command:

# grep -i cacertdir /etc/pam_ldap.conf
tls_cacertdir /etc/openldap/certs

Verify the directory set with the "tls_cacertdir" option exists.

If the directory does not exist or the option is commented out, this is a finding.
Fix Text (F-78583r1_fix)
Configure the operating system to implement cryptography to protect the integrity of LDAP remote access sessions.

Set the "tls_cacertdir" option in "/etc/pam_ldap.conf" to point to the directory that will contain the X.509 certificates for peer authentication.

Set the "tls_cacertfile" option in "/etc/pam_ldap.conf" to point to the path for the X.509 certificates used for peer authentication.