TMAegis
更多 opnsense 规则

TMA-OPNSENSE-2.1

Ensure Sessions Timeout is set to less than or equal to 10 Minutes

中级别 1自动化opnsense

说明

The session inactivity timeout setting represents the amount of time a user can be inactive before the user's session times out and closes. It only affects user browser sessions. Indefinite or even long session timeout window increase the risk of attackers abusing abandoned sessions

检查方式

审计方法: 配置正则匹配

匹配模式
<session_timeout>(?:[1-9]|10)</session_timeout>

修复方式

修复方法: 操作指南或基础设施补丁

In GUI: - Navigate to System > Settings > Administration - Scroll to the 'Session Timeout' - Set 10 in the 'Session Timeout' field - Click Save

属性

操作系统
任意
标签
opnsense
参考
CIS OPNsense Benchmark v1.0.0 - 2.1 Ensure Sessions Timeout is set to less than or equal to 10 Minutes

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target opnsense