CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:N/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
73.2%
H2O HTTP Server is prone to a denial of service vulnerability.
# 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
CPE = "cpe:/a:h2o_project:h2o";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.106488");
script_version("2024-06-11T05:05:40+0000");
script_tag(name:"last_modification", value:"2024-06-11 05:05:40 +0000 (Tue, 11 Jun 2024)");
script_tag(name:"creation_date", value:"2016-12-23 14:52:16 +0700 (Fri, 23 Dec 2016)");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2021-04-19 14:01:00 +0000 (Mon, 19 Apr 2021)");
script_cve_id("CVE-2016-7835");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("H2O HTTP Server < 2.0.5, 2.1.x < 2.1.0-beta4 DoS Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Web Servers");
script_dependencies("gb_h2o_http_server_http_detect.nasl");
script_mandatory_keys("h2o/detected");
script_tag(name:"summary", value:"H2O HTTP Server is prone to a denial of service vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"A use-after-free vulnerability exists in H2O that can be used by a remote
attacker to execute DoS attacks or information theft");
script_tag(name:"impact", value:"An unauthenticated remote attacker may cause a DoS condition or obtain
arbitrary information which may include the server certificate's private keys, depending on the software's
settings.");
script_tag(name:"affected", value:"H2O version 2.0.4, 2.1.0-beta3 and prior.");
script_tag(name:"solution", value:"Update to version 2.0.5, 2.1.0-beta4 or later.");
script_xref(name:"URL", value:"https://github.com/h2o/h2o/issues/1144");
script_xref(name:"URL", value:"https://jvn.jp/en/jp/JVN44566208/index.html");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!version = get_app_version(cpe: CPE, port: port))
exit(0);
check_vers = ereg_replace(string: version, pattern: "-", replace: ".");
if (version_is_less(version: check_vers, test_version: "2.0.5")) {
report = report_fixed_ver(installed_version: version, fixed_version: "2.0.5");
security_message(port: port, data: report);
exit(0);
}
if (version_in_range(version: check_vers, test_version: "2.1.0", test_version2: "2.1.0.beta3")) {
report = report_fixed_ver(installed_version: version, fixed_version: "2.1.0-beta4");
security_message(port: port, data: report);
exit(0);
}
exit(99);
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:N/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
73.2%