MD7X-00-008800 MongoDB must maintain the confidentiality and integrity of information during preparation for transmission.

Information

Information can be either unintentionally or maliciously disclosed or modified during preparation for transmission, 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.

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 transmitting data, MongoDB, associated applications, and infrastructure must leverage transmission protection mechanisms.

Solution

Stop the MongoDB instance if it is running.

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

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).

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MongoDB_Enterprise_Advanced_7-x_V1R1_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-8(2), CAT|II, CCI|CCI-002420, Rule-ID|SV-265948r1028630_rule, STIG-ID|MD7X-00-008800, Vuln-ID|V-265948

Plugin: Unix

Control ID: 204f5f94b411c9e047f0039d3a2b3ff132ad25d6c77f8c04075bebc18601aae9