CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:N/I:P/A:P
AI Score
Confidence
High
EPSS
Percentile
81.9%
OpenSSL is prone to multiple vulnerabilities.
# Copyright (C) 2021 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.117619");
script_version("2022-04-13T07:21:45+0000");
script_tag(name:"last_modification", value:"2022-04-13 07:21:45 +0000 (Wed, 13 Apr 2022)");
script_tag(name:"creation_date", value:"2021-08-30 11:33:40 +0000 (Mon, 30 Aug 2021)");
script_tag(name:"cvss_base", value:"5.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
script_cve_id("CVE-2009-0129", "CVE-2008-7270", "CVE-2008-5077");
script_name("OpenSSL: Multiple Vulnerabilities (CVE-2009-0129, CVE-2008-7270, CVE-2008-5077) - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 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:"https://www.openssl.org/news/secadv/20090107.txt");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33150");
script_xref(name:"URL", value:"http://openwall.com/lists/oss-security/2009/01/12/4");
script_xref(name:"URL", value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511519");
script_xref(name:"URL", value:"http://marc.info/?l=bugtraq&m=132077688910227&w=2");
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 flaws exist:
- CVE-2009-0129: libcrypt-openssl-dsa-perl does not properly check the return value from the
OpenSSL DSA_verify and DSA_do_verify functions
- CVE-2008-7270: OpenSSL, when SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG is enabled, does not
prevent modification of the ciphersuite in the session cache
- CVE-2008-5077: OpenSSL does not properly check the return value from the EVP_VerifyFinal
function");
script_tag(name:"impact", value:"- CVE-2009-0129: The flaw might allow remote attackers to bypass
validation of the certificate chain via a malformed SSL/TLS signature
- CVE-2008-7270: The flaw allows remote attackers to force the use of a disabled cipher via
vectors involving sniffing network traffic to discover a session identifier
- CVE-2008-5077: The flaw allows remote attackers to bypass validation of the certificate chain
via a malformed SSL/TLS signature for DSA and ECDSA keys");
script_tag(name:"affected", value:"OpenSSL version prior to 0.9.8j.");
script_tag(name:"solution", value:"Update to version 0.9.8j.");
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.8j" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"0.9.8j", install_path:path );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );