MD3X-00-000010 - MongoDB must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.

Information

MongoDB must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.

Solution

Edit the MongoDB configuration file (default location: /etc/mongod.con) to include the following:

security:
authorization: 'enabled'

This will enable SCRAM-SHA-1 authentication (default).

Instruction on configuring the default authentication is provided here:

https://docs.mongodb.com/v3.4/tutorial/enable-authentication/

The high-level steps described by the above will require the following:

1. Start MongoDB without access control.
2. Connect to the instance.
3. Create the user administrator.
4. Restart the MongoDB instance with access control.
5. Connect and authenticate as the user administrator.
6. Create additional users as needed for your deployment.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MDB_Enterprise_Advanced_3-x_V2R3_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(1), CAT|I, CCI|CCI-000015, Rule-ID|SV-221158r960768_rule, STIG-ID|MD3X-00-000010, STIG-Legacy|SV-96557, STIG-Legacy|V-81843, Vuln-ID|V-221158

Plugin: Unix

Control ID: 88ec71ea630f4c1a9fe7acf25ff9172e6eb9d58075bed6c2cf5e15a98492771d