HSTS configuration for ElasticSearch

We have HSTS vulnerability for Elasticsearch server (v7.5.2 & v6.8.6) as mentioned @ https://www.tenable.com/plugins/nessus/142960

How to enable HSTS for the elasticsearch server.

There is no option to enable HSTS in Elasticsearch other than to place a proxy in front of it.

However, because Elasticsearch can only listen on one of HTTP or HTTPS, but not both simultaneously, it is not susceptible to downgrade attacks, unless they are also accompanied by DNS hijacking.

4 Likes