SV-279346r1179449_rule
V-279346
SRG-APP-000142-DB-000094
MD8X-00-003300
CAT II
10
Check the MongoDB configuration file (default location /etc/mongod.conf):
Ensure the following section exists and set the port in the to an allowed port:
net:
port: 27017
Ensure that TLS 1.2+ is being used by adding the following entry into the configuration file.
net:
tls:
mode: requireTLS
disabledProtocols: TLS1_0,TLS1_1
Ensure the following section exists in the configuration file and that it does not contain wildcard binding (occurrences of "0.0.0.0" or "::0" or equivalents).
net:
bindIp: 127.0.0.1,<specific-ip-addresses>
Check the MongoDB configuration file (default location /etc/mongod.conf) to verify the following entry:
net:
port: 27017
If the port listed is not authorized, this is a finding.
Verify only TLS 1.2+ is being used. If the following entry is not in the configuration file, this is a finding.
net:
tls:
mode: requireTLS
disabledProtocols: TLS1_0,TLS1_1
Verify the binding of IP addresses does not include "0.0.0.0" or ":0":
net:
bindIp: 127.0.0.1,<specific-ip-addresses>
If the bindIp contains "0.0.0.0" or "::0", this is a finding.
V-279346
False
MD8X-00-003300
Check the MongoDB configuration file (default location /etc/mongod.conf) to verify the following entry:
net:
port: 27017
If the port listed is not authorized, this is a finding.
Verify only TLS 1.2+ is being used. If the following entry is not in the configuration file, this is a finding.
net:
tls:
mode: requireTLS
disabledProtocols: TLS1_0,TLS1_1
Verify the binding of IP addresses does not include "0.0.0.0" or ":0":
net:
bindIp: 127.0.0.1,<specific-ip-addresses>
If the bindIp contains "0.0.0.0" or "::0", this is a finding.
M
5728