Re: Whonix website settings via Mozilla observatory. Overall whonix.org gets a “B” rating.
Everything looks pretty good e.g. ciphers used and so on (A, A+ etc), except HTTP Headers & Content Security, which gets a “D” rating.
https://observatory.mozilla.org/analyze.html?host=whonix.org
Why? The problem relates to Content Secutiry Policy, X Content Type Options and Referrer Policy
Check this output:
Missing Headers
Content-Security-Policy
Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets.
X-Content-Type-Options
X-Content-Type-Options stops a browser from trying to MIME-sniff the content type and forces it to stick with the declared content-type. The only valid value for this header is “X-Content-Type-Options: nosniff”.
Referrer-Policy
Referrer Policy is a new header that allows a site to control how much information the browser includes with navigations away from a document and should be set by all sites.
It also doesn’t like the Strict Transport Security setting, for whatever reason:
Strict-Transport-Security
HTTP Strict Transport Security is an excellent feature to support on your site and strengthens your implementation of TLS. That said, the HSTS header must not be returned over a HTTP connection, only HTTPS.
It also seems to suggest the server advertises the software running it, but sometimes that can be configured to be hidden:
Server
This Server header seems to advertise the software being run on the server but you can remove or change this value.
The links at the website show how the website maintainer can address these issues with various settings. It doesn’t look like rocket science. See:
Hopefully fixable.
Cheers