PfSense Configure Sessions Timeout Not Set - Detect
ID: configure-session-timeout
Severity: info
Author: pussycat0x
Tags: firewall,config,audit,pfsense,file
Description
Section titled “Description”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.
YAML Source
Section titled “YAML Source”id: configure-session-timeout
info: name: PfSense Configure Sessions Timeout Not Set - Detect author: pussycat0x severity: info description: | 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. 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 cvss-score: 0 cwe-id: CWE-200 metadata: verified: true tags: firewall,config,audit,pfsense,file
file: - extensions: - xml
matchers-condition: and matchers: - type: word words: - "<session_timeout>" - "<session_timeout>0</session_timeout>" condition: or negative: true
- type: word words: - "<pfsense>" - "<webgui>" - "<system>" condition: and
# Enhanced by md on 2023/05/04# digest: 490a00463044022005203348150bd1a55fcfc452be3f44d1baa4b07ae0bcfed9855ad31e1ddb24ee02200e8a1b5a9ee8eee8c76e9a5d64c8fa2823329b8c035c2938591a531edd5f5329:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "file/audit/pfsense/configure-session-timeout.yaml"