Check: MD3X-00-000020
MongoDB Enterprise Advanced 3.x STIG:
MD3X-00-000020
(in versions v2 r2 through v1 r1)
Title
MongoDB must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies. (Cat I impact)
Discussion
MongoDB must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.
Check Content
Review the system documentation to determine the required levels of protection for DBMS server securables by type of login. Review the permissions actually in place on the server. If the actual permissions do not match the documented requirements, this is a finding. MongoDB commands to view roles in a particular database: db.getRoles( { rolesInfo: 1, showPrivileges:true, showBuiltinRoles: true } )
Fix Text
Use createRole(), updateRole(), dropRole(), grantRole() statements to add and remove permissions on server-level securables, bringing them into line with the documented requirements. MongoDB commands for role management can be found here: https://docs.mongodb.com/v3.4/reference/method/js-role-management/
Additional Identifiers
Rule ID: SV-221159r879530_rule
Vulnerability ID: V-221159
Group Title: SRG-APP-000033-DB-000084
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000213 |
The information system enforces approved authorizations for logical access to information and system resources in accordance with applicable access control policies. |
Controls
Number | Title |
---|---|
AC-3 |
Access Enforcement |