Rule ID
SV-289212r1318405_rule
Version
V1R1
CCIs
Terminating an idle session within a short time period reduces the window of opportunity for unauthorized personnel to take control of a management session enabled on the console or console port that has been left unattended. In addition, quickly terminating an idle session will also free up resources committed by the managed network element. Terminating network connections associated with communications sessions includes, for example, de-allocating associated TCP/IP address/port pairs at the operating system level, or de-allocating networking assignments at the application level if multiple application sessions are using a single, operating system-level network connection. This does not mean that the device terminates all sessions or network access; it only ends the inactive session and releases the resources associated with that session.
Verify the NetScaler appliance terminates administrative sessions after five minutes (300 seconds) of inactivity. Note: The local superuser account (nsroot) is exempt from this parameter. This check must be performed on nonexempt administrative accounts. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to System >> Settings and select "Change Global System Settings". 3. Verify "Timeout (secs)" is set to "300" or less. 4. Navigate to System >> User Administration >> Users. 5. For each standard administrative user, select the user and select "Edit". 6. Verify "Idle Session Timeout (secs)" is either blank (to inherit the global setting) or is explicitly set to "300" or less. Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Run the following command to verify the global setting: show system parameter 3. Verify the "Timeout" parameter is set to 300 or less. 4. For each standard administrative user, run the following command to verify per-user settings: show system user <username> 5. Verify the "Timeout" parameter is either blank (inherits global) or set to "300" or less. If the global timeout is greater than "300", or if any standard user has an overriding timeout greater than "300", this is a finding.
Configure the NetScaler appliance to terminate administrative sessions after five minutes (300 seconds) of inactivity. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. Navigate to System >> Settings and select "Change Global System Settings". 3. In the "Timeout (secs)" field, enter "300" and select "OK". 4. Navigate to System >> User Administration >> Users. 5. For each standard administrative user, select the user, select "Edit", and clear the "Idle Session Timeout (secs)" field to inherit the global setting. Select "OK". 6. Save the running configuration. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. Run the following command to set the global timeout: set system parameter -timeout 300 3. For any standard user with a noncompliant timeout, run the following command to reset their override: unset system user <username> -timeout 4. Run the following command to save the configuration: save ns config