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

From Red Hat Enterprise Linux 7 Security Technical Implementation Guide

Part of SRG-OS-000250-GPOS-00093

Associated with: CCI-001453

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

Vulnerability discussion

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.

Check content

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

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.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer