Check provider logo

Default Global Session Policy has a Priority 1 non-default rule disabling persistent global session cookies

signon_global_session_cookies_not_persistent

Severitymedium
Servicesignon
by Prowler

Every active Okta Global Session Policy needs a Priority 1 rule that is not the built-in Default Rule, setting Okta global session cookies persist across browser sessions to Disabled.

Okta evaluates policies by group assignment, so a permissive custom policy can govern users. Aligns with DISA STIG V-273206 / OKTA-APP-001710.

Risk

Persistent global session cookies keep an authenticated Okta session alive across browser restarts.

  • Surviving sessions outlive the browsing context the user expected
  • Cached authorization decisions remain in effect after the browser closes
  • Forgotten or shared devices continue to hold authenticated access until cookies expire on their own
Run this check with Prowler CLI

prowler okta --checks signon_global_session_cookies_not_persistent

Recommendation

Configure each active Global Session Policy so a non-default rule at Priority 1:

  • Sets Okta global session cookies persist across browser sessions to Disabled
  • Is enabled (ACTIVE) and evaluated before the built-in Default Rule

Review group assignments to confirm the rule actually governs the intended users.

Remediation

Terraform
Other
  1. Sign in to the Okta Admin Console as a Super Admin.
  2. Navigate to Security > Global Session Policy.
  3. Open the Default Policy (and repeat for every other active policy).
  4. Add or edit a non-default rule.
  5. Move that rule to Priority 1 so it is evaluated before the built-in Default Rule.
  6. Set Okta global session cookies persist across browser sessions to Disabled.
  7. Save the rule.

Source Code

Resource Type

NotDefined

References