SV-279344r1179199_rule
V-279344
SRG-APP-000141-DB-000091
MD8X-00-003000
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-279344
False
MD8X-00-003000
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
5728