5.1.2.5 (L2) Ensure the option to remain signed in is hidden

Information

The option for the user to Stay signed in or the Keep me signed in option, will prompt a user after a successful login. When the user selects this option, a persistent refresh token is created. The refresh token lasts for 90 days by default and does not prompt for sign-in or multifactor.

Allowing users to select this option presents risk, especially if the user signs into their account on a publicly accessible computer/web browser. In this case it would be trivial for an unauthorized person to gain access to any associated cloud data from that account.

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

Solution

To remediate using the UI:

- Navigate to Microsoft Entra admin center

https://entra.microsoft.com/

.
- Click to expand Identity > Users > User settings
- Set Show keep user signed in to No
- Click Save

Impact:

Once this setting is hidden users will no longer be prompted upon sign-in with the message Stay signed in? This may mean users will be forced to sign in more frequently. Important: some features of SharePoint Online and Office 2010 have a dependency on users remaining signed in. If you hide this option, users may get additional and unexpected sign in prompts.

See Also

https://workbench.cisecurity.org/benchmarks/17682

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12, CSCv7|16.3

Plugin: microsoft_azure

Control ID: b8b1ddba51da3cd8252f3fc75fae73c47c1efd04aa83f7faa6291364064adaa0