F5 BIG-IP
TMA-F5-BIGIP-5.2
Ensure to exclude inode information from ETags HTTP Header
Description
To prevent the disclosure of inode information when accessing Configuration utility (GUI). PASS requires the sys httpd include statement to contain "FileETag MTime Size". Audited against tmsh output with defaults shown: save the concatenated output of 'tmsh list auth password-policy all-properties', 'tmsh list auth source all-properties', 'tmsh list auth remote-user all-properties', 'tmsh list auth radius all-properties', 'tmsh list sys httpd all-properties', 'tmsh list sys sshd all-properties', 'tmsh list sys global-settings all-properties', 'tmsh list cli global-settings all-properties', 'tmsh list sys ntp', 'tmsh list sys snmp all-properties', 'tmsh list sys syslog' and 'tmsh list net self all-properties'. Patterns are scoped to the named top-level block.
How it is checked
Audit method: Configuration pattern
- Pattern
(?ms)^sys httpd \{\n(?:[ \t]+[^\n]*\n)*?[ \t]+include \"[^\"]*FileETag MTime Size
How it is fixed
Fix method: Guidance or infrastructure patch
tmsh modify sys httpd include "FileETag MTime Size" tmsh save sys config tmsh restart sys service httpd # CIS guidance: 1-Log in to tmsh by entering the following command: tmsh 2-To specify the format to be used for the Etag header, enter the following command: 3-modify /sys httpd include "FileETag MTime Size" Save the configuration change by entering the following command: 4-save /sys config 5-To restart the httpd service, enter the following command: restart /sys service httpd
Properties
- Operating systems
- Any
- Tags
- f5-bigipmanagement
- Reference
- CIS F5 Networks Benchmark v1.0.0 - 5.2 Ensure to exclude inode information from ETags HTTP Header
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
tmaegis scan --target f5-bigip