Outdated Citrix NetScaler ADC or Gateway
A NetScaler ADC or NetScaler Gateway appliance runs a build older than those fixing published Citrix security bulletins, several of them exploited at scale.
| Severity | Critical |
| CVSS 3.1 | 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Open in the calculator |
| CVSS 4.0 | 9.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-1395: Dependency on Vulnerable Third-Party Component |
| OWASP Top 10 | A03:2025 Software Supply Chain Failures |
| MITRE ATT&CK | T1190 Exploit Public-Facing Application, T1133 External Remote Services, T1550.004 Web Session Cookie |
| Category | Outdated Components |
Description
A NetScaler ADC or NetScaler Gateway appliance (formerly Citrix ADC and Citrix Gateway) is running a build older than those that fix vulnerabilities published in Citrix security bulletins, or a release line that has reached end of life. These appliances usually sit at the network edge, providing remote access, load balancing and authentication for internal applications, so they are reachable from the internet by design and are among the most heavily targeted devices.
Exploitation gives an unauthenticated attacker on the internet either control of the appliance or the ability to hijack users' remote access sessions. Notable flaws include CVE-2019-19781, a path traversal that led to unauthenticated code execution; CVE-2023-3519, an unauthenticated code execution flaw; and CVE-2023-4966, known as Citrix Bleed, a memory disclosure flaw that leaked session tokens from appliances configured as a Gateway or AAA virtual server, letting attackers take over authenticated sessions without passwords or multi-factor authentication. A similar memory overread, CVE-2025-5777, followed. All of these have been exploited in real attacks, several as zero-days or soon after disclosure.
From the appliance, an attacker can capture credentials as users sign in, read its configuration and stored secrets, and reach the internal applications and networks it fronts, which is why compromised NetScaler appliances have been a common entry point for ransomware and espionage. Session tokens stolen through memory disclosure remain usable until the sessions end, so upgrading alone does not remove access an attacker has already gained. The risk is lower only where the vulnerable feature, such as a Gateway or AAA virtual server, is not configured.
The exact build is not always displayed, but remote checks can often infer it from resources served by the Gateway login page. A credentialed check, or the output of show version on the appliance, gives a definitive answer.
Remediation
Upgrade every appliance to a fixed build on a supported release line, then deal with any earlier compromise:
- Install the fixed build named in each relevant Citrix security bulletin on all appliances, including high availability partners. Replace or upgrade appliances on a release line that has reached end of life, as these do not receive fixes.
- After upgrading for a session token disclosure flaw, terminate all active and persistent sessions using the commands given in the bulletin, as tokens stolen earlier stay valid until those sessions are ended.
- Check for signs of compromise using the indicators published by Citrix and national cyber security agencies, such as unexpected files in the web directories, new accounts and unexplained configuration changes. Where compromise is suspected, rebuild the appliance from a clean image and rotate every credential, certificate key and secret held in its configuration.
- Subscribe to Citrix security bulletins and treat critical bulletins for internet-facing appliances as emergencies.
As an interim measure, restrict the management interface (the NSIP, and any SNIP with management access enabled) to a management network, and disable Gateway, AAA and other virtual servers that are not needed. Confirm the fix by checking the build reported by show version against the fixed builds in each bulletin.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.