The API must require periodic reauthentication.

STIG ID: SRG-APP-000389-API-000820  |  SRG: SRG-APP-000389 |  Severity: medium |  CCI: CCI-002038 |  Vulnerability Id: V-274672

Vulnerability Discussion

Without reauthentication, resources may be accessed without authorization.

When APIs 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 (ex. 24 hours); or
(vi) Periodically.

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

Check

Verify the API requires periodic reauthentication.

If the API does not require reauthentication periodically, this is a finding.

Fix

Build or configure the API to require reauthentication periodically.