nuclei-templates/file/audit/pfsense/configure-session-timeout.yaml

40 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2023-03-16 17:34:50 +00:00
id: configure-session-timeout
info:
name: PfSense Configure Sessions Timeout Not Set - Detect
2023-03-16 17:34:50 +00:00
author: pussycat0x
severity: info
description: |
2023-07-06 06:27:03 +00:00
Configure sessions timeout is recommended to be enabled. An indefinite or even long session timeout window can increase the risk of an attacker abusing abandoned sessions and potentially being able to obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-03-16 17:34:50 +00:00
reference: |
https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
2023-10-14 11:27:55 +00:00
cvss-score: 0
cwe-id: CWE-200
2023-03-22 19:14:02 +00:00
metadata:
verified: true
2023-03-16 17:34:50 +00:00
tags: firewall,config,audit,pfsense,file
2023-03-16 17:34:50 +00:00
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<session_timeout>"
- "<session_timeout>0</session_timeout>"
condition: or
negative: true
- type: word
words:
2023-03-22 19:01:22 +00:00
- "<pfsense>"
2023-03-16 17:34:50 +00:00
- "<webgui>"
2023-03-22 19:14:02 +00:00
- "<system>"
condition: and
# Enhanced by md on 2023/05/04
# digest: 4b0a004830460221008eba08b85ba95940807021dd80e8d2aa75fabfbe6706871968b674720671fa85022100cc57c109bd39376341a80bf84d4c5ef3f2a6f396792ca7ea3876860f54cf38d6:922c64590222798bb761d5b6d8e72950