Lucene search

K
openvasCopyright (C) 2016 Greenbone AGOPENVAS:1361412562310810215
HistoryNov 26, 2016 - 12:00 a.m.

OpenSSL SSL2 <= 0.9.6d / 0.9.7 <= 0.9.7-beta2 Multiple Vulnerabilities

2016-11-2600:00:00
Copyright (C) 2016 Greenbone AG
plugins.openvas.org
72

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

9.4

Confidence

High

EPSS

0.78

Percentile

98.3%

OpenSSL is prone to multiple vulnerabilities.

# 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:openssl:openssl";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.810215");
  script_version("2023-07-21T05:05:22+0000");
  script_cve_id("CVE-2002-0655", "CVE-2002-0656", "CVE-2002-0659");
  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_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2016-11-26 18:50:26 +0530 (Sat, 26 Nov 2016)");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_name("OpenSSL SSL2 <= 0.9.6d / 0.9.7 <= 0.9.7-beta2 Multiple Vulnerabilities");

  script_tag(name:"summary", value:"OpenSSL is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"The following vulnerabilities exist:

  - an improper validation of 'KEY_ARG_LENGTH' parameter by the 'get_client_master_key' function in script
  'ssl/s2_srvr.c' during the handshake process with an SSL server connection using the SSLv2 communication
  process (CVE-2002-0656)

  - OpenSSL does not properly handle ASCII representations of integers on 64 bit platforms (CVE-2002-0655)

  - the ASN1 library in OpenSSL allows remote attackers to cause a denial of service via invalid
  encodings (CVE-2002-0659)");

  script_tag(name:"impact", value:"Successful exploitation will allow a remote attacker to execute
  arbitrary code on the server or to cause a denial of service.");

  script_tag(name:"affected", value:"OpenSSL versions 0.9.6d and earlier, and
  0.9.7-beta2 and earlier.");

  script_tag(name:"solution", value:"Upgrade to OpenSSL version 0.9.6e or later
  or apply the patch provided by the vendor.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"http://www.kb.cert.org/vuls/id/102795");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5363");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5364");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5366");
  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/40347");
  script_xref(name:"URL", value:"http://www.cert.org/historical/advisories/CA-2002-23.cfm");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_family("General");
  script_dependencies("gb_openssl_consolidation.nasl");
  script_mandatory_keys("openssl/detected");

  exit(0);
}

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

if(isnull(port = get_app_port(cpe:CPE)))
  exit(0);

if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
  exit(0);

vers = infos["version"];
path = infos["location"];

if(version_is_less(version:vers, test_version:"0.9.6e") ||
   version_is_equal(version:vers, test_version:"0.9.7-beta1") ||
   version_is_equal(version:vers, test_version:"0.9.7-beta2")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"0.9.6e", install_path:path);
  security_message(data:report, port:port);
  exit(0);
}

exit(99);

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

9.4

Confidence

High

EPSS

0.78

Percentile

98.3%