Check: MD3X-00-000770
MongoDB Enterprise Advanced 3.x STIG:
MD3X-00-000770
(in versions v2 r3 through v1 r1)
Title
MongoDB must maintain the confidentiality and integrity of information during reception. (Cat II impact)
Discussion
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.
Check Content
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 strict requirement for ensure data integrity and confidentially is present, inspect the MongoDB configuration file (default location: /etc/mongod.conf) for the following entries: net: ssl: mode: requireSSL PEMKeyFile: /etc/ssl/mongodb.pem If net.ssl.mode is not set to "requireSSL", this is a finding.
Fix Text
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).
Additional Identifiers
Rule ID: SV-221198r961641_rule
Vulnerability ID: V-221198
Group Title: SRG-APP-000442-DB-000379
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002422 |
Maintain the confidentiality and/or integrity of information during reception. |
Controls
Number | Title |
---|---|
SC-8(2) |
Pre / Post Transmission Handling |