| name | cis-apache24-5.18 |
| description | Ensure HTTP Header Permissions-Policy is set appropriately |
| category | cis-apache |
| version | 2.3.0 |
| author | cyberstrike-official |
| tags | ["cis","apache","linux","features","content","options"] |
| cis_id | 5.18 |
| cis_benchmark | CIS Apache HTTP Server 2.4 Benchmark v2.3.0 |
| tech_stack | ["linux","apache"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Ensure HTTP Header Permissions-Policy is set appropriately (Manual)
Profile Applicability
Level 2
Description
The HTTP Permissions-Policy is a control that provides a way to allow or deny the use of certain browser features within a document or within any element in the document.
Rationale
Having and using the ability to control browser features as needed with the directive follows the zero trust model and comply directly with CIS Controls section 2 of versions 7 and 8.
Impact
You must only limit the origins and directives to what is needed to support the request. Limiting it too much may disrupt the ability to get a proper/expected response.
Audit Procedure
Perform the following steps to determine if the recommended state is implemented:
Header Permissions-Policy configurations should be set to match required browser features, functions and origins.
Remediation
Perform the following to implement the recommended state:
Add or modify the Header directive for the Permissions-Policy header in the Apache configuration to have the appropriate condition as shown below.
Header set Permissions-Policy "<Directive> <allowlist>"
Default Value
Permissions-Policy Policy is not set by Default
References
- https://httpd.apache.org/docs/2.4/mod/mod_headers.html#header
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy
CIS Controls
v8: