Skip to content

If passwords are used for authentication, the EDB Postgres Advanced Server must store only hashed, salted representations of passwords.

An XCCDF Rule

Description

The DOD standard for authentication is DOD-approved PKI certificates. Authentication based on User ID and Password may be used only when it is not possible to employ a PKI certificate, and requires Authorizing Official ( AO) approval. In such cases, database passwords stored in clear text, using reversible encryption, or using unsalted hashes would be vulnerable to unauthorized disclosure. Database passwords must always be in the form of one-way, salted hashes when stored internally or externally to the DBMS.

ID
SV-259247r1015717_rule
Version
EPAS-00-004300
Severity
High
References
Updated

Remediation Templates

A Manual Procedure

Execute the following SQL as the "enterprisedb" user:

ALTER SYSTEM SET password_encryption = 'scram-sha-256';
SELECT pg_reload_conf();