HSTS Missing From HTTPS Server

info Nessus Plugin ID 84502

Synopsis

The remote web server is not enforcing HSTS.

Description

The remote HTTPS server is not enforcing HTTP Strict Transport Security (HSTS). HSTS is an optional response header that can be configured on the server to instruct the browser to only communicate via HTTPS. The lack of HSTS allows downgrade attacks, SSL-stripping man-in-the-middle attacks, and weakens cookie-hijacking protections.

Solution

Configure the remote web server to use HSTS.

See Also

https://tools.ietf.org/html/rfc6797

Plugin Details

Severity: Info

ID: 84502

File Name: hsts_missing_on_https_server.nasl

Version: 1.6

Type: remote

Family: Web Servers

Published: 7/2/2015

Updated: 5/19/2021

Supported Sensors: Nessus

Vulnerability Information

Required KB Items: SSL/Supported