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


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

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.


With MongoDB configured using SASL LDAP authentication and on certain Linux distributions, saslauthd starts with the caching of authentication credentials enabled.

Until restarted or until the cache expires, saslauthd will not contact the LDAP server to re-authenticate users in its authentication cache. This allows saslauthd to successfully authenticate users in its cache, even in the LDAP server is down or if the cached users' credentials are revoked.

To set the expiration time (in seconds) for the authentication cache, see the -t option of saslauthd (

See Also

Item Details


References: 800-53|IA-5(13), CAT|II, CCI|CCI-002007, Rule-ID|SV-252177r879773_rule, STIG-ID|MD4X-00-005700, Vuln-ID|V-252177

Plugin: Unix

Control ID: 0f63a5e02be591895199f1fba1cd355dc7b209ccde2b080131060d904f47e182