UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to the EDB Postgres Advanced Server, etc.) must be restricted to authorized users.


Overview

Finding ID Version Rule ID IA Controls Severity
V-68935 PPS9-00-003600 SV-83539r1_rule Medium
Description
If the DBMS were to allow any user to make changes to database structure or logic, 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.
STIG Date
EDB Postgres Advanced Server Security Technical Implementation Guide 2017-11-17

Details

Check Text ( C-69405r2_chk )
Use psql to connect to the db 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 (F-75117r1_fix)
Revoke unauthorized privileges. The syntax is:
REVOKE ON FROM .
Example: REVOKE INSERT ON a FROM PUBLIC;
See PostgreSQL documentation for details.