7.5 High
CVSS2
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
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.3 High
AI Score
Confidence
High
0.102 Low
EPSS
Percentile
95.0%
openssh is prone to multiple vulnerabilities.
# 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:/a:openbsd:openssh";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.8103256");
script_version("2024-02-09T05:06:25+0000");
script_cve_id("CVE-2016-10009", "CVE-2016-10010", "CVE-2016-10011", "CVE-2016-10012", "CVE-2016-10708");
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:"2024-02-09 05:06:25 +0000 (Fri, 09 Feb 2024)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2018-09-11 10:29:00 +0000 (Tue, 11 Sep 2018)");
script_tag(name:"creation_date", value:"2017-01-06 11:19:51 +0530 (Fri, 06 Jan 2017)");
script_name("OpenSSH Multiple Vulnerabilities (Jan 2017) - Linux");
script_copyright("Copyright (C) 2017 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("General");
script_dependencies("gb_openssh_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("openssh/detected", "Host/runs_unixoide");
script_xref(name:"URL", value:"https://www.openssh.com/txt/release-7.4");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/94968");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/94972");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/94977");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/94975");
script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2016/12/19/2");
script_xref(name:"URL", value:"http://blog.swiecki.net/2018/01/fuzzing-tcp-servers.html");
script_xref(name:"URL", value:"https://anongit.mindrot.org/openssh.git/commit/?id=28652bca29046f62c7045e933e6b931de1d16737");
script_tag(name:"summary", value:"openssh 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:"Multiple flaws exist due to:
- An 'authfile.c' script does not properly consider the effects of realloc
on buffer contents.
- The shared memory manager (associated with pre-authentication compression)
does not ensure that a bounds check is enforced by all compilers.
- The sshd in OpenSSH creates forwarded Unix-domain sockets as root, when
privilege separation is not used.
- An untrusted search path vulnerability in ssh-agent.c in ssh-agent.
- NULL pointer dereference error due to an out-of-sequence NEWKEYS message.");
script_tag(name:"impact", value:"Successfully exploiting this issue allows
local users to obtain sensitive private-key information, to gain privileges,
conduct a senial-of-service condition and allows remote attackers to execute
arbitrary local PKCS#11 modules.");
script_tag(name:"affected", value:"OpenSSH versions before 7.4 on Linux");
script_tag(name:"solution", value:"Upgrade to OpenSSH version 7.4 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
exit(0);
}
include("version_func.inc");
include("host_details.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:"7.4")) {
report = report_fixed_ver(installed_version:vers, fixed_version:"7.4", install_path:path);
security_message(port:port, data:report);
exit(0);
}
exit(99);
blog.swiecki.net/2018/01/fuzzing-tcp-servers.html
www.openwall.com/lists/oss-security/2016/12/19/2
www.securityfocus.com/bid/94968
www.securityfocus.com/bid/94972
www.securityfocus.com/bid/94975
www.securityfocus.com/bid/94977
anongit.mindrot.org/openssh.git/commit/?id=28652bca29046f62c7045e933e6b931de1d16737
www.openssh.com/txt/release-7.4
7.5 High
CVSS2
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
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.3 High
AI Score
Confidence
High
0.102 Low
EPSS
Percentile
95.0%