#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(236942);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/05/27");
script_cve_id("CVE-2023-48795");
script_name(english:"Infoblox NIOS Terrapin Attack (000009589)");
script_set_attribute(attribute:"synopsis", value:
"An application installed on the remote host is affected by a vulnerability.");
script_set_attribute(attribute:"description", value:
"The version of Infoblox NIOS installed on the remote host is affected by a vulnerability in OpenSSH. The SSH transport
protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to
bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and
server may consequently end up with a connection for which some security features have been downgraded or disabled, aka
a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions,
mishandles the handshake phase and mishandles use of sequence numbers.
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://support.infoblox.com/s/article/000009589");
script_set_attribute(attribute:"solution", value:
"See vendor advisory");
script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:N/I:C/A:N");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-48795");
script_set_attribute(attribute:"vuln_publication_date", value:"2024/09/20");
script_set_attribute(attribute:"patch_publication_date", value:"2024/09/20");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/05/19");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/o:infoblox:nios");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("infoblox_nios_web_interface_detect.nbin", "infoblox_nios_detect.nbin");
script_require_keys("Host/Infoblox/NIOS");
exit(0);
}
include('vcf_extras_infoblox.inc');
include('vcf.inc');
var app_info = vcf::infoblox::get_app_info();
# Vuln fixed in 9.0.3.3 CHF (i.e. 9.0.3 CHF-3)
if (app_info['version'] == '9.0.3.3') audit(AUDIT_INST_VER_NOT_VULN, 'Infoblox NIOS');
var hotfixes = {
'8.6.3' : 'Hotfix-Hotfix-NIOS_8.6.3-51135-1241097029df_NIOS_8.6.4-51177-72c485de7d02-J98461-APPLY-bfae98bad9d22adf4e7390d49f47e11e',
'8.6.4' : 'Hotfix-Hotfix-NIOS_8.6.3-51135-1241097029df_NIOS_8.6.4-51177-72c485de7d02-J98461-APPLY-bfae98bad9d22adf4e7390d49f47e11e'
};
if (!app_info.extra_no_report.hotfixes_checked_successfully && report_paranoia < 2)
{
audit(AUDIT_POTENTIAL_VULN, 'Infoblox', app_info.version);
}
var constraints = [
{'min_version' : '8.6', 'fixed_version' : '8.7', 'fixed_display' : 'See vendor advisory' },
{'min_version' : '9.0.1', 'fixed_version' : '9.0.4', 'fixed_display' : 'See vendor advisory' }
];
vcf::infoblox::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_WARNING,
hotfixes:hotfixes
);
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