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

CAT II (Medium)

The role(s)/group(s) used to modify database structure and logic modules must be restricted to authorized users.

Rule ID

SV-259239r960960_rule

STIG

EnterpriseDB Postgres Advanced Server (EPAS) Security Technical Implementation Guide

Version

V2R1

CCIs

CCI-001499

Discussion

Database structures include but are not necessarily limited to tables, indexes, storage, etc. Logic modules are objects such as stored procedures, functions, triggers, and links to software external to the DBMS, etc. If the DBMS were to allow any user to make changes to database structure or logic modules, then those changes might be implemented without undergoing the appropriate testing and approvals that are part of a robust change management process. Accordingly, only qualified and authorized individuals must be allowed to obtain access to information system components for purposes of initiating changes, including upgrades and modifications. Unmanaged changes that occur to the database software libraries or configuration can lead to unauthorized or compromised installations.

Check Content

Use psql to connect to the database as enterprisedb and run this command:

\dp *.*

If any unauthorized roles have unauthorized accesses, this is a finding.

Definitions of the access privileges are defined here: 

http://www.postgresql.org/docs/current/static/sql-grant.html

Fix Text

Revoke unauthorized privileges. The syntax is:
REVOKE <privilege> ON <object> FROM <role>.

Example: REVOKE INSERT ON mytable FROM PUBLIC;

Refer to PostgreSQL documentation for details: https://www.postgresql.org/docs/current/sql-revoke.html