MD3X-00-000320 - If DBMS authentication, using passwords, is employed, MongoDB must enforce the DoD standards for password complexity and lifetime.

Information

OS/enterprise authentication and identification must be used (SQL2-00-023600). Native DBMS authentication may be used only when circumstances make it unavoidable; and must be documented and AO-approved.

The DoD standard for authentication is DoD-approved PKI certificates. Authentication based on User ID and Password may be used only when it is not possible to employ a PKI certificate, and requires AO approval.

In such cases, the DoD standards for password complexity and lifetime must be implemented. DBMS products that can inherit the rules for these from the operating system or access control program (e.g., Microsoft Active Directory) must be configured to do so. For other DBMSs, the rules must be enforced using available configuration parameters or custom code.

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

Solution

Either configure MongoDB for Native LDAP authentication where LDAP is configured to enforce password complexity and lifetime.
OR
Configure MongoDB Kerberos authentication where Kerberos is configured to enforce password complexity and lifetime.

See Also

https://iasecontent.disa.mil/stigs/zip/U_MongoDB_Enterprise_Advanced_3-x_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000192, Rule-ID|SV-96579r1_rule, STIG-ID|MD3X-00-000320, Vuln-ID|V-81865

Plugin: Unix

Control ID: 85aa21bea26323972305bd7703a08f7fff5fd8b069f9913c7497d382e14405d5