1. Home
  2. Security Hardening
  3. DISA STIG MongoDB Enterprise Advanced 3.x V1R2
  4. MD3X-00-000470 – MongoDB must prevent unauthorized and unintended information transfer via shared system resources – .conf file

MD3X-00-000470 – MongoDB must prevent unauthorized and unintended information transfer via shared system resources – .conf file

Details

The purpose of this control is to prevent information, including encrypted representations of information, produced by the actions of a prior user/role (or the actions of a process acting on behalf of a prior user/role) from being available to any current user/role (or current process) that obtains access to a shared system resource (e.g., registers, main memory, secondary storage) after the resource has been released back to the information system. Control of information in shared resources is also referred to as object reuse.

Satisfies: SRG-APP-000243-DB-000373, SRG-APP-000243-DB-000374

Solution

Correct the permission to the files and/or directories that are in violation.

MongoDB Configuration file (default location):
chown mongod:mongod /etc/mongod.conf
chmod 755 /etc/mongod.conf

MongoDB data file directory (default location):
chown -R mongod:mongod/var/lib/mongo
chmod -R 755/var/lib/mongo

Supportive Information

The following resource is also helpful.

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

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles