HexBrain

JamieWeb · Report #500588

Security headers missed on https://acme-validation.jamieweb.net/

Validstatus
mediumseverity
48upvotes
28 Mar 2019disclosed

Summary

The reporter identified that the X-DNS-Prefetch-Control, X-Download-Options and Public-Key-Pins headers were missing.

X-Download-Options and Public-Key-Pins are deprecated/of limited use, so these have not been implemented. However, the X-DNS-Prefetch-Control header has now been implemented on all of my live sites in order to avoid the risk of information disclosure via this feature.

How it was found

Summary:

Hi JamieWeb team, the https://acme-validation.jamieweb.net/ domain doesn't present some important security headers. The X-DNS-Prefetch-Control header isn't specified with value off, so is enabled b default on modern web browsers, and can lead to information disclosure ((https://security.stackexchange.com/questions/121796/what-security-implications-does-dns-prefetching-have). Additionally, the X-Download-Options isn't present, while a good security implication would be noopen (here is explained why is important in certain circumstances: https://github.com/Fyrd/caniuse/issues/3388). Finally, the Public-Key-Pins header isn't present. It is very helpful because tells to the web browser to associate a public key with a certain web server to prevent MITM attacks using rogue and forged X.509 certificates. This protects users in case a certificate authority is compromised. Is useful also for the validation of the SSL certificate.

Steps To Reproduce:

  1. Add a X-DNS-Prefetch-Control: off header
  2. Add a X-Download-Options: noopen header
  3. Add a Public-Key-Pins header (for calculate its value follow the https://scotthelme.co.uk/hpkp-http-public-key-pinning/ article)

If you don't consider this a valid issue, let me know it and I'l autoclose by myself as N/A :)

Impact

Some security headers missed can lead to prevention of certain attacks that can be exploited using reflected attacks in the local network either in remote contexts.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original