1. Home
  2. Security Hardening
  3. DISA STIG MongoDB Enterprise Advanced 3.x V1R2
  4. MD3X-00-000390 – MongoDB must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).

MD3X-00-000390 – MongoDB must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).

Details

Non-organizational users include all information system users other than organizational users, which include organizational employees or individuals the organization deems to have equivalent status of employees (e.g., contractors, guest researchers, individuals from allied nations).

Non-organizational users must be uniquely identified and authenticated for all accesses other than those accesses explicitly identified and documented by the organization when related to the use of anonymous access, such as accessing a web server.

Accordingly, a risk assessment is used in determining the authentication needs of the organization.

Scalability, practicality, and security are simultaneously considered in balancing the need to ensure ease of use for access to federal information and information systems with the need to protect and adequately mitigate risk to organizational operations, organizational assets, individuals, other organizations, and the Nation.

Satisfies: SRG-APP-000180-DB-000115, SRG-APP-000211-DB-000122, SRG-APP-000211-DB-000124

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

Solution

Prereq: To view a user’s roles, must have the ‘viewUser’ privilege.

Connect to MongoDB.

For each database, identify the user’s roles for the database.

use
db.getUser(‘[username]’)

The server will return a document with the user’s roles.

To revoke a user’s role from a database use the db.revokeRolesFromUser() method.

To grant a role to a user use the db.grantRolesToUser() method.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Identification and Authentication, System and Communications Protection.This control applies to the following type of system MongoDB.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles