SV-265906r1137654_rule
V-265906
SRG-APP-000033-DB-000084
MD7X-00-000300
CAT I
10
Use the following statements to add and remove permissions on MongoDB server securables, bringing them into line with the documented requirements:
createRole(),
updateRole(),
dropRole(),
grantRolesToUser()
MongoDB commands for role management can be found here:
https://www.mongodb.com/docs/v7.0/reference/method/js-role-management/
The MongoDB administrator must ensure that additional application access control is enforced.
Review the system documentation to determine the required levels of protection for MongoDB server securables by type of login.
Review the permissions actually in place on the server.
Run the command to view roles and privileges in a particular <database> :
use <database>
db.getRoles(
{
rolesInfo: 1,
showPrivileges: true,
showBuiltinRoles: true
}
)
If the permissions do not match the documented requirements, this is a finding.
V-265906
False
MD7X-00-000300
The MongoDB administrator must ensure that additional application access control is enforced.
Review the system documentation to determine the required levels of protection for MongoDB server securables by type of login.
Review the permissions actually in place on the server.
Run the command to view roles and privileges in a particular <database> :
use <database>
db.getRoles(
{
rolesInfo: 1,
showPrivileges: true,
showBuiltinRoles: true
}
)
If the permissions do not match the documented requirements, this is a finding.
M
5637