#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(240341);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/07/11");
script_cve_id("CVE-2025-5349", "CVE-2025-5777");
script_xref(name:"IAVA", value:"2025-A-0443");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2025/07/11");
script_name(english:"NetScaler ADC and NetScaler Gateway Multiple Vulnerabilities (CTX693420)");
script_set_attribute(attribute:"synopsis", value:
"The remote device may be affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The remote NetScaler ADC (formerly Citrix ADC) or NetScaler Gateway (formerly Citrix Gateway) device is version 12.1
before 12.1-55.328 (12.1-FIPS) or 13.1 before 13.1-37.235 (13.1-FIPS) or 13.1 beforeâ¯13.1-58.32 or 14.1 beforeâ¯
14.1-43.56. It is, therefore, affected by multiple vulnerabilities:
- Improper access control on the NetScaler Management Interface in NetScaler ADCâ¯and NetScaler Gateway
(CVE-2025-5349)
- Insufficient input validation leading to memory overread on the NetScaler Management Interface NetScaler
ADCâ¯and NetScaler Gateway (CVE-2025-5777)
Please refer to advisory CTX693420 for more information.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://support.citrix.com/support-home/kbsearch/article?articleNumber=CTX693420
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?43b55ab5");
script_set_attribute(attribute:"solution", value:
"Upgrade to version 12.1-55.328 (12.1-FIPS), 13.1-37.235 (13.1-FIPS), 13.1-58.32, 14.1-43.56 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L");
script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:A");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-5777");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2025/06/17");
script_set_attribute(attribute:"patch_publication_date", value:"2025/06/17");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/06/25");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/h:citrix:netscaler_gateway");
script_set_attribute(attribute:"cpe", value:"cpe:/h:citrix:netscaler_application_delivery_controller");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("citrix_netscaler_detect.nbin");
script_require_keys("Host/NetScaler/Detected");
exit(0);
}
include('vcf_extras_netscaler.inc');
var app_info = vcf::citrix_netscaler::get_app_info();
var constraints;
if (app_info['fips_status'] == 1)
constraints = [
{'fips':TRUE, 'min_version': '12.1', 'fixed_version': '12.1.55.328', 'fixed_display': '12.1-55.328 and later releases of 12.1-FIPS.'},
{'fips':TRUE, 'min_version': '13.1', 'fixed_version': '13.1.37.235', 'fixed_display': '13.1-37.235 and later releases of 13.1-FIPS.'}
];
else
constraints = [
{'min_version': '13.1', 'fixed_version': '13.1.58.32', 'fixed_display': '13.1-58.32'},
{'min_version': '14.1', 'fixed_version': '14.1.43.56', 'fixed_display': '14.1-43.56'}
];
vcf::citrix_netscaler::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_HOLE
);
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