SV-265915r1028531_rule
V-265915
SRG-APP-000141-DB-000091
MD7X-00-003200
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-265915
False
MD7X-00-003200
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