MD4X-00-002600 - Unused database components that are integrated in MongoDB and cannot be uninstalled must be disabled - RESTInterfaceEnabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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.

Unused, unnecessary DBMS components increase the attack vector for MongoDB by introducing additional targets for attack. By minimizing the services and applications installed on the system, the number of potential vulnerabilities is reduced. Components of the system that are unused and cannot be uninstalled must be disabled. The techniques available for disabling components will vary by DBMS product, OS, and the nature of the component and may include DBMS configuration settings, OS service settings, OS file access security, and DBMS user/role permissions.

Solution

In the MongoDB database configuration file (default location: /etc/mongod.conf), ensure the following parameters either:

Does not exist in the file
OR
Are set to false as shown below:

http:
enabled: false
JSONPEnabled: false
RESTInterfaceEnabled: false

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MDB_Enterprise_Advanced_4-x_V1R2_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-252156r813850_rule, STIG-ID|MD4X-00-002600, Vuln-ID|V-252156

Plugin: Unix

Control ID: 2e20b68e3bd3cc84e6f7047fd8f55d680b5ddcde246f7087c5a14b2140d420a3