1.2.7 Set 'exec-timeout' to less than or equal to 10 minutes 'line console 0'

Information

If no input is detected during the interval, the EXEC facility resumes the current connection. If no connections exist, the EXEC facility returns the terminal to the idle state and disconnects the incoming session.

Rationale:

This prevents unauthorized users from misusing abandoned sessions. For example, if the network administrator leaves for the day and leaves a computer open with an enabled login session accessible. There is a trade-off here between security (shorter timeouts) and usability (longer timeouts). Review your local policies and operational needs to determine the best timeout value. In most cases, this should be no more than 10 minutes.

Impact:

Organizations should prevent unauthorized use of unattended or abandoned sessions by an automated control. Enabling 'exec-timeout' with an appropriate length reduces the risk of unauthorized access of abandoned sessions.

Solution

Configure device timeout (10 minutes or less) to disconnect sessions after a fixed idle time.

hostname(config)#line con 0
hostname(config-line)#exec-timeout <timeout_in_minutes> <timeout_in_seconds>

See Also

https://workbench.cisecurity.org/files/3801

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(5), 800-53|AC-11, CSCv7|16.11

Plugin: Cisco

Control ID: e2c76b292b6d0d5abeaf5709448a26d095ae15650f81e8b63ef4832b833fa432