UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

MongoDB must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.


Overview

Finding ID Version Rule ID IA Controls Severity
V-252150 MD4X-00-001700 SV-252150r879530_rule High
Description
MongoDB must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.
STIG Date
MongoDB Enterprise Advanced 4.x Security Technical Implementation Guide 2023-12-18

Details

Check Text ( C-55606r813830_chk )
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. If the actual permissions do not match the documented requirements, this is a finding.

Run MongoDB command to view roles and privileges in a particular database:

use database
db.getRoles(
{
rolesInfo: 1,
showPrivileges:true,
showBuiltinRoles: true
}
)
Fix Text (F-55556r813831_fix)
Use
createRole(),
updateRole(),
dropRole(),
grantRole() statements
to add and remove permissions on MongoDB serverl securables, bringing them into line with the documented requirements.

MongoDB commands for role management can be found here:
https://docs.mongodb.com/v4.4/reference/method/js-role-management/