MD4X-00-006100 - MongoDB must maintain the confidentiality and integrity of information during reception.

Information

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.

Solution

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

Modify the %MongoDB configuration file% with TLS configuration options such as:

net:
tls:
mode: requireTLS
certificateKeyFile: /etc/ssl/mongodb.pem
CAFile: /etc/ssl/caToValidateClientCertificates.pem
allowInvalidCertificates: false
allowConnectionsWithoutCertificates: false
FIPSMode: true

Ensue net.tls.mode is set to requireTLS.

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_MDB_Enterprise_Advanced_4-x_V1R3_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002422, Rule-ID|SV-252180r879813_rule, STIG-ID|MD4X-00-006100, Vuln-ID|V-252180

Plugin: Unix

Control ID: 166818a662467e8228dc88ec7594de9e27774c21c2b153dc9d9ab0173c4031cd