Lucene search

K
openvasCopyright (C) 2010 Greenbone Networks GmbHOPENVAS:1361412562310800489
HistoryMar 10, 2010 - 12:00 a.m.

OpenSSL 'bn_wexpand()' Multiple Vulnerabilities - Windows

2010-03-1000:00:00
Copyright (C) 2010 Greenbone Networks GmbH
plugins.openvas.org
15

6.5 Medium

AI Score

Confidence

High

0.012 Low

EPSS

Percentile

85.4%

OpenSSL is prone to multiple vulnerabilities.

# Copyright (C) 2010 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

CPE = "cpe:/a:openssl:openssl";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800489");
  script_version("2021-06-30T11:32:25+0000");
  script_tag(name:"last_modification", value:"2021-06-30 11:32:25 +0000 (Wed, 30 Jun 2021)");
  script_tag(name:"creation_date", value:"2010-03-10 15:48:25 +0100 (Wed, 10 Mar 2010)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2009-3245");
  script_name("OpenSSL 'bn_wexpand()' Multiple Vulnerabilities - Windows");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_openssl_consolidation.nasl", "os_detection.nasl");
  script_mandatory_keys("openssl/detected", "Host/runs_windows");

  script_xref(name:"URL", value:"http://secunia.com/advisories/38761");
  script_xref(name:"URL", value:"http://marc.info/?l=openssl-cvs&m=126692159706582&w=2");
  script_xref(name:"URL", value:"http://security-tracker.debian.org/tracker/CVE-2009-3245");

  script_tag(name:"impact", value:"Has unspecified impact and context-dependent attack vectors.");

  script_tag(name:"affected", value:"OpenSSL version prior to 0.9.8m.");

  script_tag(name:"insight", value:"Multiple flaws are due to error in 'bn_wexpand()' function which
  does not check for a NULL return value when called in 'crypto/bn/bn_div.c', 'crypto/bn/bn_gf2m.c',
  'crypto/ec/ec2_smpl.c', and 'engines/e_ubsec.c'.");

  script_tag(name:"solution", value:"Update to version 0.9.8m or later.");

  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:"qod_type", value:"remote_banner");
  script_tag(name:"solution_type", value:"VendorFix");

  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.8m" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"0.9.8m", install_path:path );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );