#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(269984);
script_version("1.4");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/30");
script_cve_id("CVE-2025-61984", "CVE-2025-61985");
script_xref(name:"IAVA", value:"2025-A-0729-S");
script_xref(name:"IAVA", value:"2025-A-0806-S");
script_name(english:"OpenSSH < 10.1 / 10.1p1 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The SSH server running on the remote host is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of OpenSSH installed on the remote host is prior to 10.1. It is, therefore, affected by multiple
vulnerabilities:
- ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly
untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted
sources are the command line and %-sequence expansion of a configuration file. (A configuration file
that provides a complete literal username is not categorized as an untrusted source.) (CVE-2025-61984)
- ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a
ProxyCommand is used. (CVE-2025-61985)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://www.openssh.com/releasenotes.html#10.1p1");
script_set_attribute(attribute:"solution", value:
"Upgrade to OpenSSH version 10.1/10.1p1 or later.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:N");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-61984");
script_set_attribute(attribute:"vuln_publication_date", value:"2025/10/06");
script_set_attribute(attribute:"patch_publication_date", value:"2025/10/06");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/10");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:openbsd:openssh");
script_set_attribute(attribute:"stig_severity", value:"II");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025-2026 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);
var constraints = [
{'fixed_version': '10.1', 'fixed_display': '10.1 / 10.1.p1'}
];
vcf::openssh::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_NOTE);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation