MD3X-00-000770 - MongoDB must maintain the confidentiality and integrity of information during reception - PEMKeyFile

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 (default location: /etc/mongod.conf) with the network configuration options.

net:
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/mongodb.pem

Set 'net.ssl.mode' to the 'requireSSL'.
Set 'net.ssl.KeyFile' to the full path of the certificate (.pem) file.

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_3-x_V2R1_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-8(2), CAT|II, CCI|CCI-002422, Rule-ID|SV-221198r411090_rule, STIG-ID|MD3X-00-000770, STIG-Legacy|SV-96637, STIG-Legacy|V-81923, Vuln-ID|V-221198

Plugin: Unix

Control ID: befcac99811fe2941ac558a9e5fecad42dee54fd1a831e5be36fd4994ab32929