Lucene search

K
openvasCopyright (C) 2017 Greenbone AGOPENVAS:1361412562310140192
HistoryMar 17, 2017 - 12:00 a.m.

F5 BIG-IP - OpenSSL vulnerability CVE-2016-2182

2017-03-1700:00:00
Copyright (C) 2017 Greenbone AG
plugins.openvas.org
26

9.4 High

AI Score

Confidence

High

0.957 High

EPSS

Percentile

99.4%

The BN_bn2dec function in crypto/bn/bn_print.c in OpenSSL before 1.1.0 does not properly validate division results, which allows remote attackers to cause a denial of service (out-of-bounds write and application crash) or possibly have unspecified other impact via unknown vectors.

# SPDX-FileCopyrightText: 2017 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:/h:f5:big-ip";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140192");
  script_cve_id("CVE-2016-2182", "CVE-2016-9244");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_version("2023-08-09T05:05:14+0000");

  script_name("F5 BIG-IP - OpenSSL vulnerability CVE-2016-2182");

  script_xref(name:"URL", value:"https://my.f5.com/manage/s/article/K01276005");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"solution", value:"See the referenced vendor advisory for a solution.");

  script_tag(name:"summary", value:"The BN_bn2dec function in crypto/bn/bn_print.c in OpenSSL before 1.1.0 does not properly validate division results, which allows remote attackers to cause a denial of service (out-of-bounds write and application crash) or possibly have unspecified other impact via unknown vectors.");

  script_tag(name:"impact", value:"This vulnerability allows unauthorized disclosure of information.");
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"last_modification", value:"2023-08-09 05:05:14 +0000 (Wed, 09 Aug 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-12-27 16:08:00 +0000 (Fri, 27 Dec 2019)");
  script_tag(name:"creation_date", value:"2017-03-17 09:42:43 +0100 (Fri, 17 Mar 2017)");
  script_category(ACT_GATHER_INFO);
  script_family("F5 Local Security Checks");
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_dependencies("gb_f5_big_ip_version.nasl");
  script_mandatory_keys("f5/big_ip/version", "f5/big_ip/active_modules");
  exit(0);
}

include("version_func.inc");
include("host_details.inc");
include("list_array_func.inc");
include("f5.inc");

if (!version = get_app_version(cpe: CPE))
  exit(0);

check_f5["LTM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;11.2.1;10.2.1-10.2.4;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["AAM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["AFM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["AVR"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;11.2.1;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["APM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;11.2.1;10.2.1-10.2.4;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["ASM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;11.2.1;10.2.1-10.2.4;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["GTM"] = make_array("affected",   "11.4.0-11.6.1;11.2.1;10.2.1-10.2.4;",
                             "unaffected", "11.6.1_HF2;");

check_f5["LC"]  = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;11.2.1;10.2.1-10.2.4;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

check_f5["PEM"] = make_array("affected",   "12.0.0-12.1.2;11.4.0-11.6.1;",
                             "unaffected", "13.0.0;12.1.2_HF1;11.6.1_HF2;");

if (report = f5_is_vulnerable(ca: check_f5, version: version)) {
  security_message(port: 0, data: report);
  exit(0);
}

exit(99);