SSL/TLS: `includeSubDomains` Missing in HSTS Header
🗓️ 22 Aug 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 10 Views
# SPDX-FileCopyrightText: 2016 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105877");
script_version("2024-02-08T05:05:59+0000");
script_tag(name:"cvss_base", value:"0.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:N");
script_tag(name:"last_modification", value:"2024-02-08 05:05:59 +0000 (Thu, 08 Feb 2024)");
script_tag(name:"creation_date", value:"2016-08-22 13:07:42 +0200 (Mon, 22 Aug 2016)");
script_name('SSL/TLS: `includeSubDomains` Missing in HSTS Header');
script_category(ACT_GATHER_INFO);
script_family("SSL and TLS");
script_copyright("Copyright (C) 2016 Greenbone AG");
script_dependencies("gb_hsts_http_detect.nasl");
script_mandatory_keys("hsts/includeSubDomains/missing/port");
script_xref(name:"URL", value:"https://owasp.org/www-project-secure-headers/");
script_xref(name:"URL", value:"https://owasp.org/www-project-cheat-sheets/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html");
script_xref(name:"URL", value:"https://owasp.org/www-project-secure-headers/#http-strict-transport-security-hsts");
script_xref(name:"URL", value:"https://tools.ietf.org/html/rfc6797");
script_xref(name:"URL", value:"https://securityheaders.io/");
script_tag(name:"summary", value:"The remote web server is missing the 'includeSubDomains'
attribute in the HTTP Strict Transport Security (HSTS) header.");
script_tag(name:"solution", value:"Add the 'includeSubDomains' attribute to the HSTS header.");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"Workaround");
exit(0);
}
if( ! port = get_kb_item( "hsts/includeSubDomains/missing/port" ) )
exit( 0 );
banner = get_kb_item( "hsts/" + port + "/banner" );
log_message( port:port, data:'The remote web server is missing the "includeSubDomains" attribute in the HSTS header.\n\nHSTS Header:\n\n' + banner );
exit( 0 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
08 Feb 2024 00:00Current
7.5High risk
Vulners AI Score7.5