STIGUI
V-256600CAT II — Medium severitySV-256600r1268850_rule

The vPostgres database must use "md5" for authentication.

Rule version VCPG-70-000010 · STIG v1 · 2026-08-31

Discussion

The DoW standard for authentication is DoW-approved public key infrastructure (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 approval.

In such cases, database passwords stored in clear text, using reversible encryption or 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 database management system (DBMS).

Check

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW password_encryption;"

Expected result:

md5

If the output does not match the expected result, this is a finding.

Fix

At the command prompt, run the following commands:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET password_encryption TO 'md5';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"

Identifiers

Group ID
V-256600
Group title
SRG-APP-000171-DB-000074
Rule ID
SV-256600r1268850_rule
Check ID
C-60275r887584_chk
Fix ID
F-60218r887585_fix