MD7X-00-003200 Unused database components that are integrated in MongoDB and cannot be uninstalled must be disabled.

Information

Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions).

It is detrimental for software products to provide, or install by default, functionality exceeding requirements or mission objectives.

DBMSs must adhere to the principles of least functionality by providing only essential capabilities.

Satisfies: SRG-APP-000141-DB-000091, SRG-APP-000141-DB-000092, SRG-APP-000142-DB-000094

Solution

Disable the "javascriptEnabled" option.

Edit the MongoDB configuration file (default location: /etc/mongod.conf) to include the following:

security:
javascriptEnabled: false

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MongoDB_Enterprise_Advanced_7-x_V1R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., 800-53|CM-7b., CAT|II, CCI|CCI-000381, CCI|CCI-000382, Rule-ID|SV-265915r1028531_rule, STIG-ID|MD7X-00-003200, Vuln-ID|V-265915

Plugin: Unix

Control ID: fcb203cd594110ca4be02c98bd0ef21b110d65f7778b0aca161fe36d2d661a96