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

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN008340

Associated with: CCI-000225

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

Vulnerability discussion

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.

Check content

Determine the key file. # grep -i '^tls_key' /etc/ldap.conf Check the permissions. # ls -lL If the mode of the file is more permissive than 0600, this is a finding.

Fix text

Change the mode of the file. # chmod 0600

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