3.5 Review User-Defined Roles

Information

Reviewing all roles periodically and removing all users from those roles who do not need to belong to them helps minimize the privileges that each user has.

Rationale:

Although role-based access control (RBAC) has many advantages for regulating access to resources, over time some users may be assigned to roles that are no longer necessary, such as a user changing jobs within the organization. Users who have excessive privileges pose unnecessary risk to the organization.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

To remove a user from one or more roles on the current database, use the following command:

use <dbName>

db.revokeRolesFromUser( "<username>", [ <roles> ])

See Also

https://workbench.cisecurity.org/files/1725

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(5), CSCv6|16.1

Plugin: MongoDB

Control ID: d2a783edda88eef6ebf1c71c7100c6e125ee314c7bf10fe2083a1530bb4780cb