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-259286

CAT II (Medium)

The EDB Postgres Advanced Server must disable network functions, ports, protocols, and services deemed by the organization to be nonsecure, in accord with the Ports, Protocols, and Services Management (PPSM) guidance.

Rule ID

SV-259286r961470_rule

STIG

EnterpriseDB Postgres Advanced Server (EPAS) Security Technical Implementation Guide

Version

V2R1

CCIs

CCI-001762

Discussion

Use of nonsecure network functions, ports, protocols, and services exposes the system to avoidable threats. A database cluster listens on a single port (usually 5444 for EDB Postgres Advanced Server). The Postgres Enterprise Manager (PEM) agents do not listen on ports; they only act as clients to the PEM server. The PEM server has two components, a repository (which is a Postgres database) and a web application. The web application listens on a port configured in Apache HTTP Server, generally 8080 or 8443. The ports to check are: the primary Postgres cluster port, the PEM HTTPD port, and the PEM Repository DB port. Generally, the PEM HTTPD port and the PEM Repository DB port should be installed on an isolated management machine with administrator access only.

Check Content

Review the network functions, ports, protocols, and services supported by the EDB Postgres Advanced Server.

If any protocol is prohibited by the PPSM guidance and is enabled, this is a finding.

Open "<PostgreSQL data directory>/pg_hba.conf" in a viewer. The default path for the postgresql data directory is /var/lib/edb/as<version>/data (PGDATA), but this will vary according to local circumstances. If any rows have a TYPE that is "host" or "hostnossl", this is a finding.

Execute the following SQL as "enterprisedb" operating system user:

> psql edb -c "SHOW port"
 
If the displayed port is not allowed, this is a finding.

Fix Text

Disable each prohibited network function, port, protocol, or service prohibited by the PPSM guidance.

Open "pg_hba.conf" in an editor. The default path for the pg_hba.conf file is /var/lib/edb/as<version>/data (PGDATA), but this will vary according to local circumstances.

Change the TYPE of any rows not starting with a "#" to be either "local" or "hostssl". The METHOD for the local rows should be "peer", which will authenticate based on the operating system name. The METHOD for the hostssl rows should be one of these (in preferred order): cert, ldap, sspi, pam, or scram-sha-256.

Execute the following SQL as "enterprisedb" operating system user:

> psql edb -c "ALTER SYSTEM SET port = <port>"

Execute the following operating system command as the "root" user (or user with sudo privileges) to restart the postgres instance:

> systemctl restart edb-as-<version>

Where <version> is the major version of the EDB Postgres Advanced Server instance [e.g., 15].