Apache HTTP Server
TMA-APACHE-5.17
Ensure HTTP Header Referrer-Policy is set appropriately
Description
The server now allows for controlling the amount of "referrer" information being sent with requests. Limiting information to only what is needed is security best practice. Manual review: the benchmark gives no reliable automated check for this control.
Méthode de vérification
Méthode d'audit: Revue manuelle
Perform the following steps to determine if the recommended state is implemented: Ensure a Header directive for Referrer-Policy is present in the Apache configuration and has the condition Header Set 'Referrer-Policy' shown below: # grep -I Referrer-Policy $APACHE_PREFIX/conf/httpd.conf Header set Referrer-Policy "<Directive>" If header Referrer-Policy configuration is present and has as a compliant value, then the server is compliant.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Perform the following to implement the recommended state: Add or modify the Header directive for the Referrer-Policy header in the Apache configuration to have the appropriate condition as shown below. Header set Referrer-Policy "<Directive>"
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- apachefeatures
- Référence
- CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 5.17 Ensure HTTP Header Referrer-Policy is set appropriately