STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated just now
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to EnterpriseDB Postgres Advanced Server (EPAS) Security Technical Implementation Guide

V-259240

CAT II (Medium)

Default, demonstration and sample databases, database objects, and applications must be removed.

Rule ID

SV-259240r960963_rule

STIG

EnterpriseDB Postgres Advanced Server (EPAS) Security Technical Implementation Guide

Version

V2R1

CCIs

CCI-000381

Discussion

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. Examples include, but are not limited to, installing advertising software, demonstrations, or browser plugins not related to requirements or providing a wide array of functionality, not required for every mission, that cannot be disabled. DBMSs must adhere to the principles of least functionality by providing only essential capabilities. Demonstration and sample database objects and applications present publicly known attack points for malicious users. These demonstration and sample objects are meant to provide simple examples of coding specific functions and are not developed to prevent vulnerabilities from being introduced to the DBMS and host system.

Check Content

Review vendor documentation and vendor websites for vendor-provided demonstration or sample databases, database applications, objects, and files.

Review the DBMS to determine if any of the demonstration and sample databases, database applications, or files are installed in the database or are included with the DBMS application.

If any are present in the database or are included with the DBMS application, this is a finding.

Check for the existence of EDB Postgres sample databases: postgres and edb. Execute the following SQL as the "enterprisedb" operating system user:

psql edb -c "SELECT datname FROM pg_database WHERE datistemplate = false"

If any databases are listed here that are not used by the application, this is a finding.

Note: the "postgres" and "edb" databases are internal databases that are part of the EDB Postgres Advanced Server.

Fix Text

Remove any unused databases from the DBMS. 

To remove a database, execute the follow SQL as the enterprised user:

> psql edb -c "DROP DATABASE <database>"

or 

> dropdb <database_name>