UCF STIG Viewer Logo

Unused database components, DBMS software, and database objects must be removed.


Finding ID Version Rule ID IA Controls Severity
V-221166 MD3X-00-000280 SV-221166r879587_rule Medium
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.
MongoDB Enterprise Advanced 3.x Security Technical Implementation Guide 2024-01-24


Check Text ( C-22881r410992_chk )
Review the list of components and features installed with the MongoDB database.

If unused components are installed and are not documented and authorized, this is a finding.

RPM can also be used to check to see what is installed:

yum list installed | grep mongodb

This returns MongoDB database packages that have been installed.

If any packages displayed by this command are not being used, this is a finding.
Fix Text (F-22870r410993_fix)
On data-bearing nodes and arbiter nodes, the mongodb-enterprise-tools, mongodb-enterprise-shell and mongodb-enterprise-mongos can be removed (or not installed).

On applications servers that typically run the mongos process when connecting to a shared cluster, the only package required is the mongodb-enterprise-mongos package.