DISA STIGS Viewer

MongoDB must maintain the confidentiality and integrity of information during reception.

Overview

Finding ID Version Rule ID IA Controls Severity
V-265949 MD7X-00-008900 SV-265949r1028633_rule   Medium
Description
Information can be either unintentionally or maliciously disclosed or modified during reception, including, for example, during aggregation, at protocol transformation points, and during packing/unpacking. These unauthorized disclosures or modifications compromise the confidentiality or integrity of the information. This requirement applies only to those applications that are either distributed or can allow access to data nonlocally. Use of this requirement will be limited to situations where the data owner has a strict requirement for ensuring data integrity and confidentiality is maintained at every step of the data transfer and handling process. When receiving data, MongoDB, associated applications, and infrastructure must leverage protection mechanisms.
STIG Date
MongoDB Enterprise Advanced 7.x Security Technical Implementation Guide 2024-09-27

Details

Check Text (C-69867r1028631_chk)
If the data owner does not have a strict requirement for ensuring data integrity and confidentiality is maintained at every step of the data transfer and handling process, this is not a finding.

If such a requirement is present, inspect the MongoDB configuration file (default location: /etc/mongod.conf) for the following entries:

net:
tls:
mode: requireTLS
certificateKeyFile: <PEM File>
CAFile: <PEM File>
allowInvalidCertificates: false
allowConnectionsWithoutCertificates: false
FIPSMode: true

If net.tls.mode is not set to "requireTLS", this is a finding.
Fix Text (F-69771r1028632_fix)
Stop the MongoDB instance if it is running.

Obtain a certificate from a valid DOD certificate authority to be used for encrypted data reception.

Modify the MongoDB configuration file to include the following TLS configuration options:

net:
tls:
mode: requireTLS
certificateKeyFile: <PEM File>
CAFile: <PEM File>
allowInvalidCertificates: false
allowConnectionsWithoutCertificates: false
FIPSMode: true

Set "net.tls.mode" to the "requireTLS".
<PEM File> is the fullpathnames to the certificates used for the option.

Start/stop (restart) all mongod or mongos instances using the MongoDB configuration file (default location: /etc/mongod.conf).