According to its banner, the version of OpenSSH installed on the remote host is affected by multiple vulnerabilities :
A race condition exists that may allow an unauthenticated, remote attacker to crash the service or, on portable OpenSSH, possibly execute code on the affected host. Note that successful exploitation requires that GSSAPI authentication be enabled.
A flaw exists that may allow an attacker to determine the validity of usernames on some platforms. Note that this issue requires that GSSAPI authentication be enabled.
When SSH version 1 is used, an issue can be triggered via an SSH packet that contains duplicate blocks that could result in a loss of availability for the service.
On Fedora Core 6 (and possibly other systems), an unspecified vulnerability in the linux_audit_record_event() function allows remote attackers to inject incorrect information into audit logs.
#
# (C) Tenable, Inc.
#
include("compat.inc");
if (description)
{
script_id(22466);
script_version("1.31");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/03/27");
script_cve_id("CVE-2006-4924", "CVE-2006-4925", "CVE-2006-5051", "CVE-2006-5052", "CVE-2006-5229", "CVE-2007-3102", "CVE-2008-4109");
script_bugtraq_id(20216, 20241, 20245);
script_name(english:"OpenSSH < 4.4 Multiple Vulnerabilities");
script_summary(english:"Checks version number of OpenSSH");
script_set_attribute(attribute:"synopsis", value:
"The remote SSH server is affected by multiple vulnerabilities." );
script_set_attribute(attribute:"description", value:
"According to its banner, the version of OpenSSH installed on the
remote host is affected by multiple vulnerabilities :
- A race condition exists that may allow an
unauthenticated, remote attacker to crash the service
or, on portable OpenSSH, possibly execute code on the
affected host. Note that successful exploitation
requires that GSSAPI authentication be enabled.
- A flaw exists that may allow an attacker to determine
the validity of usernames on some platforms. Note that
this issue requires that GSSAPI authentication be
enabled.
- When SSH version 1 is used, an issue can be triggered
via an SSH packet that contains duplicate blocks that
could result in a loss of availability for the service.
- On Fedora Core 6 (and possibly other systems), an
unspecified vulnerability in the
linux_audit_record_event() function allows remote
attackers to inject incorrect information into
audit logs.");
script_set_attribute(attribute:"see_also", value:"http://www.openssh.com/txt/release-4.4" );
script_set_attribute(attribute:"solution", value:
"Upgrade to OpenSSH 4.4 or later." );
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(264, 362, 399);
script_set_attribute(attribute:"plugin_publication_date", value: "2006/09/28");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/09/28");
script_set_attribute(attribute:"plugin_type", value: "remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:openbsd:openssh");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2023-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("openssh_detect.nbin");
script_require_keys("installed_sw/OpenSSH");
script_require_ports("Services/ssh", 22);
exit(0);
}
include('backport.inc');
include('vcf.inc');
include('vcf_extras.inc');
var port = get_service(svc:'ssh', default:22, exit_on_fail:TRUE);
var app_info = vcf::openssh::get_app_info(app:'OpenSSH', port:port);
vcf::check_all_backporting(app_info:app_info);
if (!get_kb_item("Settings/PCI_DSS"))
{
var auth = get_kb_item_or_exit("SSH/supportedauth/" + port);
if ("gssapi" >!< auth) exit(0, "The SSH service on port "+port+" doesn't support GSSAPI.");
}
var constraints = [
{'fixed_version': '4.4'}
];
vcf::openssh::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4924
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4925
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5051
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5052
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5229
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3102
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4109
www.openssh.com/txt/release-4.4