HSTS Missing From HTTPS Server (RFC 6797)

medium Nessus Plugin ID 142960

Synopsis

The remote web server is not enforcing HSTS, as defined by RFC 6797.

Description

The remote web server is not enforcing HSTS, as defined by RFC 6797. 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: Medium

ID: 142960

File Name: missing_hsts_rfc6797.nasl

Version: 1.6

Type: remote

Family: Web Servers

Published: 11/17/2020

Updated: 6/29/2021

Risk Information

CVSS Score Rationale: Score based on analysis of vendor advisories.

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS Score Source: manual

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Vulnerability Information

Required KB Items: SSL/Supported, Host/FQDN/tag