Security headers missed on https://acme-validation.jamieweb.net/
The site was missing several security headers, including X-DNS-Prefetch-Control, X-Download-Options and Public-Key-Pins. The reporter claimed this could enable information disclosure through DNS prefetching and weaken protection against certain attacks.
- Triaged in under an hour
- Fixed in 27 hours
- Disclosed after 31 days
Summary by the program
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.
The report
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:
- Add a
X-DNS-Prefetch-Control: offheader - Add a
X-Download-Options: noopenheader - Add a
Public-Key-Pinsheader (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.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the web server configuration did not include these optional security headers.
Impact
The reporter claimed missing headers could lead to information disclosure via DNS prefetching and reduce protection against some attacks, though the site owner noted two of the headers are deprecated or of limited use.
What the attacker needed
None
The fix
The X-DNS-Prefetch-Control header was implemented on all live sites, while the other two were not because they are deprecated or of limited use.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Security headers are extra instructions a website sends to your browser to tell it how to behave safely. This report says some were missing, which the reporter thought could let a browser leak information or make some attacks easier. The site owner later added one of them but said the others are outdated.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.