EPAS-00-008800 - The EDB Postgres Advanced Server must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The DOD standard for authentication of an interactive user is the presentation of a Common Access Card (CAC) or other physical token bearing a valid, current, DOD-issued Public Key Infrastructure (PKI) certificate, coupled with a Personal Identification Number (PIN) to be entered by the user at the beginning of each session and whenever reauthentication is required.

Without reauthentication, users may access resources or perform tasks for which they do not have authorization.

When applications provide the capability to change security roles or escalate the functional capability of the application, it is critical the user reauthenticate.

In addition to the reauthentication requirements associated with session locks, organizations may require reauthentication of individuals and/or devices in other situations, including (but not limited to) the following circumstances:

(i) When authenticators change;
(ii) When roles change;
(iii) When security categories of information systems change;
(iv) When the execution of privileged functions occurs;
(v) After a fixed period of time; or
(vi) Periodically.

Within the DOD, the minimum circumstances requiring reauthentication are privilege escalation and role changes.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Determine the organization-defined circumstances or situations that require reauthentication and ensure the following SQL is executed in those situations.

To require a single user to reauthenticate, use this SQL:

SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE user = '<username>';

To require all users to reauthenticate, use this SQL:

SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE user LIKE '%';

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_EPAS_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002038, Rule-ID|SV-259287r938914_rule, STIG-ID|EPAS-00-008800, Vuln-ID|V-259287

Plugin: PostgreSQLDB

Control ID: 78cce83a0c5f9b6e6e3e0a3850f188e044a8ff7f27072b1d96d8e19a7080da44