CD12-00-008900 - Unused database components, PostgreSQL software, and database objects must be removed.

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.

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

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

To remove extensions, use the following commands:

$ sudo su - postgres
$ psql -c 'DROP EXTENSION <extension_name>'

Note: It is recommended that plpgsql not be removed.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-233592r960963_rule, STIG-ID|CD12-00-008900, Vuln-ID|V-233592

Plugin: PostgreSQLDB

Control ID: 0de72d273a62fe859bf1b2b739fd3a74ac329bdaaefbf2302c13e25a5e654db5