SV-265930r1028805_rule
V-265930
SRG-APP-000251-DB-000391
MD7X-00-005800
CAT II
10
Disable the "javascriptEnabled" option.
Edit the MongoDB configuration file (default location: /etc/mongod.conf) to include the following:
security:
javascriptEnabled: false
MongoDB operations permit arbitrary JavaScript expressions to be run directly on the server.
If the following parameter is not present or not set as show below in the MongoDB configuration file (default location: /etc/mongod.conf), this is a finding.
security:
javascriptEnabled: false
V-265930
False
MD7X-00-005800
MongoDB operations permit arbitrary JavaScript expressions to be run directly on the server.
If the following parameter is not present or not set as show below in the MongoDB configuration file (default location: /etc/mongod.conf), this is a finding.
security:
javascriptEnabled: false
M
5637