Skip to content

MongoDB must prohibit the use of cached authenticators after an organization-defined time period.

An XCCDF Rule

Description

If cached authentication information is out-of-date, the validity of the authentication information may be questionable.

ID
SV-221194r879773_rule
Version
MD3X-00-000710
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

If MongoDB is configured to authenticate using SASL and LDAP/Active Directory modify and restart the saslauthd command line options in the system boot script and set the "-t" option to the appropriate timeout in seconds.

From the Linux Command line (with root/sudo privs) run the following command to restart the saslauthd process after making the change for the "-t" parameter:

systemctl restart saslauthd