Citrix penetration testing: what a NetScaler Gateway and ICA test should cover

A Citrix penetration test checks whether NetScaler ADC and Gateway appliances are patched, exposed only as intended, managed from restricted networks and logged in a way that supports investigation. This page explains scope, method, cost drivers and deliverables.

On this page

Why buyers commission Citrix penetration testing on NetScaler Gateway

A Citrix penetration test on NetScaler checks four things: whether each appliance is patched against the vendor bulletin, which ICA proxy and VPN virtual servers are reachable from the internet, who can reach the management interface, and whether logs would show an attack if one happened. Buyers usually commission it because a NetScaler Gateway is the remote access path for staff and sometimes customers, and a framework, a customer security review, an insurer or the board now asks for evidence that this edge was tested. The test is a point-in-time assessment, so its value depends on scoping the right appliances and on checking them against current vendor guidance.

The risk sits at the edge. An internet-facing Gateway is exposed to every attacker on the internet, and it often holds session and authentication functions that sit in front of internal applications. Cloud Software Group's bulletin CTX693420 covers CVE-2025-5777, a memory overread rated 9.3 under CVSS v4.0, and CISA added that flaw to its Known Exploited Vulnerabilities Catalog on July 10, 2025. Before commissioning work, confirm with your team which appliances run each affected build, which run the end-of-life 12.1 or 13.0 releases, and whether any Gateway functions are configured at all, because the bulletin ties CVE-2025-5777 to those configurations.

Where the requirement applies, the test should be scoped against it. For cardholder environments, PCI DSS requirement 11.4.3 covers external penetration testing of the exposed perimeter, and CIS Safeguard 18.2 asks for annual external testing. Both are satisfied only if the tester is independent and the scope names every public Gateway and management path. NIST SP 800-115 should govern planning, rules of engagement and the report, so ask the provider to document approvals, intrusiveness limits and the evidence each finding rests on. Ask also whether the log review confirms that syslog is collected off the appliance, since the vendor notes that local logs may be deleted after a few days.

What can be in scope for a Citrix test and the decisions to agree first

A Citrix test is only as useful as its scope. The components below are the ones a buyer should see named in writing before any technical work starts, because each one changes what the tester can reach and what a finding means. Agree them together, then record the result in the rules of engagement.

Appliance inventory by address

List every NetScaler ADC and Gateway in scope by name and address, including the nodes of each HA pair or cluster and any AAA appliance. Ask the provider to confirm the running build on each node, because a pair can be patched unevenly. Appliances that are not on the list tend to be the ones nobody checks, so ask how unlisted devices are handled if they are discovered during testing. A named inventory also lets you compare each build against the vendor's fixed builds in bulletin CTX693420.

Security bulletin CTX693420

Virtual servers in use

Inventory which Gateway functions are live: VPN virtual servers, ICA Proxy, CVPN, RDP Proxy and AAA virtual servers. Per the bulletin, CVE-2025-5777 applies only when the appliance is configured in one of these roles, so an appliance used only for load balancing is treated differently from one that serves remote users. Record which virtual servers are reachable from the internet and which only from internal networks.

Management plane addresses

Define the NSIP, Cluster Management IP and local GSLB Site IP for each appliance and state who can reach them. The bulletin says CVE-2025-5349 requires access to these addresses, so the test must establish which networks, jump hosts and administrator subnets can connect. Ask whether the tester will check reachability from the internet, from user networks and from the management VLAN, and whether any finding will be validated without changing the configuration.

Published applications and identity dependencies

Name the backend applications published through the Gateway, along with the identity and session services they depend on, such as LDAP or RADIUS directories, SAML or OAuth providers, MFA services, DNS and the Virtual Delivery Agent hosts. A session that reaches a published desktop can expose the internal network behind it, so the scope should state whether the tester may move from a published session into internal systems and how far.

Access model and tester accounts

State whether the test is external, internal or both, and whether the tester receives an authenticated account on the Gateway. Unauthenticated testing shows what an internet attacker sees. A test with a standard user account shows what a compromised or malicious user can reach, and a test with an administrator account covers the management plane. Each option changes cost and findings, so write the choice into the scope and name the accounts to be issued and retired.

Rules of engagement and change windows

NIST SP 800-115 places rules identification and management approval in the planning phase, before any technical work. Write down the authorized targets, testing hours, intrusiveness limits, emergency contacts and the process for pausing the test if a gateway shows instability. Because patching and session termination affect live users, agree change windows for any retest that touches production and confirm who will run the commands that end active ICA and PCoIP sessions after an upgrade.

Which weakness categories a Citrix test examines and why they matter

This table compares the five weakness categories a NetScaler Gateway and ICA test should cover, what the tester inventories or reviews in each, and why it matters to the buyer. Read it as a scoping checklist: the exposure inventory decides which Gateway-specific checks, including CVE-2025-5777, are in play.

CategoryWhat the tester checks in this targetWhy it matters
Patch level against CTX693420Records each appliance's exact build and compares it with the fixed builds listed in bulletin CTX693420 for CVE-2025-5349 and CVE-2025-5777, covering HA pairs and clustersThe bulletin rates CVE-2025-5349 at CVSS v4.0 8.7 and CVE-2025-5777 at 9.3; the ranking of internet-facing Gateways in scope should follow patch status
End-of-life versions 12.1 and 13.0Identifies any appliance still running NetScaler ADC or Gateway 12.1 or 13.0, which the bulletin states are end of life and no longer supportedAn unsupported appliance will not receive fixes, so its presence is a finding in its own right, regardless of other checks
Gateway exposure of ICA and VPN virtual serversInventories which VPN, ICA Proxy, CVPN, RDP Proxy and AAA virtual servers are configured and reachable from public networks; this decides whether CVE-2025-5777 appliesCVE-2025-5777 applies only when NetScaler is configured as a Gateway or AAA virtual server, so the inventory determines the test's exposure to that flaw
Management interface reachabilityReviews which networks can reach the NSIP, Cluster Management IP and local GSLB Site IP, and whether management access is limited to administrative networksCVE-2025-5349 requires access to these addresses, so restricting who reaches the management interface is central to the risk
Logging and session evidenceConfirms that AAA and authentication logs are sent to an external syslog collector, checks retention, and reviews whether sessions were terminated after upgrades using the vendor's guidanceLocal logs may be deleted after a few days, so without external collection the evidence needed to detect exploitation attempts or session theft may not exist

How a Citrix penetration test runs from planning to retest

The sequence turns a NetScaler Gateway and ICA test into a scoped set of verified findings, each with a fix and a retest that shows the fix worked. Each step closes with a named output so the buyer can check progress.

  1. Agree rules of engagement and scope

    Before any traffic reaches the appliances, the client and the tester document the rules of engagement under the planning phase of NIST SP 800-115, which includes a rules of engagement template in Appendix B. The document names the NetScaler appliances, virtual servers, management addresses and test windows in scope, the techniques allowed, the approvals required and the contacts for emergencies. The step is complete when the client's authorized owner signs the document. The timeline is set in the written scope, so ask for it there.

  2. Inventory appliances, builds and virtual servers

    The tester identifies every NetScaler ADC and Gateway in scope, records its software build and high availability or cluster role, and lists each configured virtual server, including VPN, ICA Proxy, CVPN, RDP Proxy and AAA servers. The inventory is compared against the fixed builds in the vendor bulletin CTX693420 and flags any appliance still on a version the bulletin lists as end of life. The output is a reviewed asset register that the client confirms matches its own records, since gaps between the two are a finding in themselves.

  3. Map exposed addresses and management reachability

    The tester maps which addresses are reachable from the internet, from partner networks and from internal segments, and checks who can reach the NSIP, Cluster Management IP and local GSLB Site IP. The bulletin notes that CVE-2025-5349 requires access to these addresses, so the result shows whether that precondition is met from each zone. The step closes with a reachability matrix that the client reviews against its intended administrative model. Any path from a general user network to the management interface is recorded as a finding candidate.

  4. Validate weaknesses within the agreed limits

    Within the approved rules, the tester checks whether identified weaknesses are present and exploitable in a controlled way, without going beyond what the rules allow. For the bulletin CVEs, validation confirms the affected build and configuration combination without running public exploit code against production unless the rules explicitly permit it. Session handling, authentication and access control on ICA and VPN paths are examined the same way. The step closes with a validation record for each item, showing what was tested, the result and the evidence, so that the client can separate confirmed issues from unconfirmed ones.

  5. Review logs and report with fix guidance

    The tester reviews the NetScaler logs the client provides, looking for indicators the vendor describes, such as authentication-rejected AAA lines with non-ASCII bytes and a client IP change within one session. The assessment assumes syslog is collected externally, because local logs may be deleted after a few days, so the tester records whether that collection exists. The report then lists each finding with a risk rating, its affected appliance and the vendor-recommended fix. Patch status of internet-facing Gateways is ranked high because CISA added CVE-2025-5777 to its Known Exploited Vulnerabilities Catalog on July 10, 2025. The report ends with a findings list the client can assign to owners.

  6. Retest after remediation and confirm session cleanup

    After the client applies fixes, the tester repeats the relevant checks on the same appliances and confirms each finding is closed or documents what remains. For high availability pairs or clusters, the vendor recommends upgrading all appliances and then ending active ICA and PCoIP sessions with the kill icaconnection -all and kill pcoipConnection -all commands. The retest checks that this was done, because sessions opened before the upgrade can keep running on the old build. The closing record lists each finding's status, the retest evidence and any accepted residual risk signed by the client.

What drives the cost and duration of a Citrix penetration test

This table compares the scoping choices that move the price and duration of a NetScaler Gateway and ICA test, and what each one means for a quote. DeployOpen publishes no price list, and a quote follows the written scope, so use the right-hand column to check that each quote covers the same appliances, virtual servers and testing depth.

Cost driverWhy it moves the price or durationWhat to ask for in a quote
Appliances and HA pairs or clustersEach appliance build must be checked against the vendor bulletin, and each HA pair or cluster adds failover and configuration consistency checks.A list of every appliance, pair and cluster in scope, with the build and version of each.
Exposed virtual servers (Gateway, ICA Proxy, AAA, RDP Proxy)CVE-2025-5777 applies only when NetScaler runs as a Gateway or AAA virtual server, so every exposed virtual server needs inventory and testing.A named inventory of Gateway, ICA Proxy, CVPN, RDP Proxy and AAA virtual servers, with the public addresses they answer on.
Management plane testing locationTesting the NSIP, Cluster Management IP and GSLB site IP from inside a restricted management network needs access arrangements and more coordination than an external check.Confirmation of where management tests run, how access is granted, and whether the test is run from the management network or a jump host.
Authenticated versus unauthenticated testingUnauthenticated checks cover what an outside attacker sees. Authenticated checks against Gateway logins, ICA sessions and admin accounts take longer and need test accounts and role descriptions.The number and type of test accounts, the roles they hold, and whether the tester will use MFA-protected logins.
Log review depth and external syslogReviewing AAA and Gateway logs for exploitation indicators takes longer when logs must be pulled from external syslog collection, and longer again when only local logs exist, which may be deleted after a few days.The log sources reviewed, the time window covered, whether external syslog is available, and the indicators checked.
Retest scopeA retest that only confirms the fixed build costs less than one that also confirms session termination after upgrade and checks the management interface again.Which findings are retested, whether configuration changes are included, and the retest window agreed in writing.

Which compliance programs expect this testing and what they ask for

A Citrix test belongs in the penetration testing scope of PCI DSS v4.x when a NetScaler Gateway is exposed to the internet or can reach the cardholder data environment (CDE). Requirement 11.4.1 defines external testing as covering the exposed perimeter and critical systems reachable from public networks, so a public VPN virtual server, ICA Proxy or CVPN is squarely in that category. Requirements 11.4.2 and 11.4.3 require internal and external penetration testing at least every 12 months and after significant infrastructure or application changes. A NetScaler firmware upgrade or a new Gateway virtual server is therefore a trigger to schedule a test, not only the annual date.

Internal testing under 11.4.2 applies where the Gateway, its backend routes or its authentication path can reach the CDE. Confirm this with your network team before scoping, because a Gateway that appears to sit at the edge may still have a route into a payment segment. The CIS Controls v8.1 Safeguard 18.2 and 18.5 items ask for external and internal penetration tests at least annually, and both may be clear box or opaque box. Ask the tester which approach they will use and why. A clear box test that includes appliance configuration exports usually gives an assessor more to review than a test with no prior knowledge of the appliance.

An independent auditor or certification body decides whether evidence satisfies a framework. DeployOpen prepares the testing and the evidence for that review, but does not issue audit reports or attestations. The requirement allows the test to be performed by a qualified internal resource or a qualified external third party with organizational independence, and that third party need not be a QSA or ASV. Before work starts, ask your assessor which artifacts they expect: the written scope, the rules of engagement described in NIST SP 800-115, the findings with retest results and the appliance build inventory. Agreeing that list early avoids rework at audit time.

What the client receives from a Citrix test and how it reaches the auditor

A Citrix test produces a set of deliverables that answer different readers: leadership, the platform team, the auditor and the customer. Each one traces back to the written scope and to the retest results, so the same facts hold across every document the client circulates.

Executive summary for leadership

A short document for executives and risk owners that states what was tested, the agreed scope, the overall exposure of internet-facing Gateways and the findings that need a decision. It names the highest-priority items, such as any appliance running an end-of-life branch, and the owner and timeline proposed for each. It avoids technical detail so leadership can approve funding and accept residual risk in writing.

Appliance and virtual server inventory

A table of every NetScaler ADC and Gateway in scope, with its build, HA role and the virtual servers configured on it, including VPN, ICA Proxy, CVPN, RDP Proxy and AAA. Each build is compared against the fixed builds listed in the vendor bulletin, and any appliance on an end-of-life branch is flagged. Management interface reachability is recorded alongside each appliance so the reader can see who can reach the NSIP, Cluster Management IP and GSLB site IP.

Vendor bulletin CTX693420

Findings mapped to CVE-2025-5349 and CVE-2025-5777

Each finding carries a CVSS v4.0 base score, the affected asset, evidence, and fix guidance written so an engineer can act on it. Where the bulletin applies, findings are mapped to CVE-2025-5349 (management interface access control) and CVE-2025-5777 (input validation on Gateway and AAA configurations). Findings that are not CVE-specific, such as weak management access rules or unnecessary exposed services, are listed separately with their own remediation steps.

Bulletin CVSS v4.0 scores
8.7 and 9.3

Log evidence and collection guidance

A record of which AAA and Gateway logs were reviewed, the time range covered, and any indicators of attempted exploitation found or ruled out. The report also explains what to collect going forward: syslog forwarded to an external collector, because local logs may be deleted after a few days, and alerting on authentication-rejected AAA messages with unusual bytes or a client IP change within one session. The client keeps this as a standing control, not a one-off check.

NetScaler log guidance

Retest result and status letter

After fixes are applied, the tester retests the findings and records whether each one is closed, partly closed or open, with the build confirmed on every appliance. The retest also confirms that active ICA and PCoIP sessions were terminated after upgrade, as the vendor recommends. A status letter can be issued for a customer or auditor, but it covers only the agreed scope and the retest results, and the auditor or customer decides whether it satisfies their requirements.

What the client prepares before a Citrix test starts

Before a Citrix test starts, the client should hand the tester a current appliance inventory: every NetScaler ADC and NetScaler Gateway in scope, its exact build number, whether it runs in an HA pair or cluster, and whether it is still on a 12.1 or 13.0 release, which the bulletin treats as end of life. Build numbers matter because the tester compares each appliance against the fixed builds listed in Cloud Software Group bulletin CTX693420, and an unclear inventory turns a patch check into guesswork. Alongside the inventory, provide a list of virtual servers with the Gateway functions they perform (VPN virtual server, ICA Proxy, CVPN, RDP Proxy or AAA virtual server) and the published applications behind each one. Confirm with the team that owns the appliances which management IPs (NSIP, Cluster Management IP and any local GSLB Site IP) exist, since reachability of those addresses is part of the finding.

Logs are the second preparation item, and it is the one most often missed. Local logs on the appliance may be deleted after a few days, so if the goal includes log review, the client should set up syslog collection to a system outside the appliance before testing begins. Ask the tester which AAA and authentication log lines and session records they will review, and confirm that the collection covers the full period of the test plus a window before it. Without external logs, a review cannot show whether earlier exploitation attempts occurred, and the report will carry that gap.

Operational preparation covers the people and the timing. Name one technical contact who can authorize changes on the appliances and one escalation path for anything that disrupts users, including who can stop the test. If active sessions could be affected, agree a change freeze or maintenance window in writing, and confirm how the team will end ICA and PCoIP sessions afterward if an upgrade is part of the remediation. Finally, obtain written approval from the owner of the management network, because a test that reaches NSIP or cluster addresses touches infrastructure that another team may govern. Confirm the approval covers the exact addresses and dates in the rules of engagement.

What to check in a Citrix testing provider before signing

A Citrix test depends on who runs it and how they run it. The cards below cover the provider questions that most affect whether a NetScaler Gateway and ICA test produces findings you can act on. Each one maps to a point in the scope, method, or report you should see in writing before work starts.

Hands-on NetScaler Gateway experience

Ask the provider to describe how they have tested NetScaler Gateway, ICA Proxy and AAA virtual servers, and which virtual server types they reviewed. Request the method, not client names. A credible answer covers how they inventory Gateway configurations, how they map management interface reachability, and how they check build levels against the vendor's bulletin. Ask whether they have tested appliances in HA pairs or clusters, since those change how upgrades and session handling must be planned.

Vendor security bulletin

Written method under NIST SP 800-115

The provider should follow the planning, discovery, attack and reporting phases of NIST SP 800-115 and document each one. Planning must record the rules of engagement and management approval, using the template in Appendix B of that guide as a starting point. Ask for the rules of engagement before signing, and confirm which techniques are overt and which, if any, are covert. Covert work changes what the IT team knows, so it must be agreed at management level.

NIST SP 800-115

Plan for the management interface and sessions

The provider should explain how they will test the management plane without disrupting production. Confirm who can reach the NSIP, cluster management IP and GSLB site IP, and whether the test will check access from those networks only. Ask how active ICA and PCoIP sessions will be handled during any upgrade or remediation retest, and who approves a change window. A provider who does not raise session impact in planning is a risk to your users.

Vendor security bulletin

Sample report with CVSS v4.0 scoring

Ask for a redacted sample report and check how each finding is presented. Each entry should name the affected appliance and virtual server, show the CVSS v4.0 base score, and state the condition that makes it exploitable, such as management interface reachability or Gateway configuration. Remediation should give the fixed build to move to, and the log evidence should be tied to the finding. Look for a section that separates end-of-life appliances from patch findings, because they need different responses.

Retest commitment in written scope

A Citrix test is only complete when fixes are confirmed. Put the retest in the written scope, with the findings it covers, the appliance builds it will check, and the evidence you will receive. Confirm that the retest checks the post-upgrade step of ending active ICA and PCoIP sessions where the vendor recommends it. Ask whether retests are included in the quoted price or billed separately, and how many rounds are covered.

Independence and who does the work

Ask who will perform each task, what their experience is, and whether they are separate from the team that administers your NetScaler appliances. Testers who configure the same Gateways they assess have a conflict to resolve in writing. Confirm whether the people named in the quote are the people doing the work, and how the provider handles access to configuration and log data during the engagement.

How much effort a Citrix test takes and what it needs from your team

How long does a Citrix penetration test take?

Duration depends on scope, not on a fixed template. The main drivers are how many NetScaler appliances and HA pairs or clusters are in scope, how many virtual servers are configured as Gateways (VPN virtual servers, ICA Proxy, CVPN, RDP Proxy) or AAA servers, whether the management interface is tested from inside the network, and whether a remediation retest is included. Each appliance build must be compared against the vendor's fixed builds, and each exposed virtual server must be inventoried and checked. Ask any provider for a written schedule that lists these items separately, and confirm the testing window with your change team before work starts.

Can our own team test our Citrix estate instead?

Your team can run an internal review of build levels, exposed virtual servers, management access and logging, and that review is useful for keeping the estate current. It is not the same as an independent test. PCI DSS requirements 11.4.2 and 11.4.3 require penetration tests by a qualified internal resource or a qualified external third party with organizational independence, and an internal team that operates the appliances may not meet that independence test for its own configuration. Confirm with your assessor which role your team can fill for the required test, and use internal review to prepare for the external test.

What does the work need from our internal staff?

Most of the effort on the client side is preparation, not hands-on testing. Expect to provide:

  • A current inventory of NetScaler ADC and Gateway appliances, including HA pairs and clusters, with build numbers.
  • A list of virtual servers configured as Gateways or AAA servers, and the addresses that reach the NSIP, Cluster Management IP and local GSLB Site IP.
  • Named contacts for the Citrix, network, identity and security teams, plus an escalation path.
  • Approved test windows and change freeze dates.
  • Access to externally collected syslog. Local logs may be deleted after a few days, so an external log store is needed to review exploitation indicators.

Agree these items in the written scope so that testing does not wait on missing data.

Will a Citrix penetration test disrupt user sessions?

Testing itself is planned around live sessions, and the scope should state how intrusive each activity is allowed to be. The disruption that matters most comes after patching. The vendor recommends terminating active ICA and PCoIP sessions after all appliances in an HA pair or cluster are upgraded, using the kill icaconnection -all and kill pcoipConnection -all commands. Users must be warned because their sessions will end. A remediation retest can confirm that the step was completed and that no stale sessions remain. Schedule the session termination inside the agreed change window.

How is retesting priced and scoped?

Retesting is scoped in writing, the same way the original test is. Ask whether the quote includes a retest, how many findings it covers, which appliances and virtual servers it re-checks, and whether it verifies the upgrade and session termination steps. A retest that only confirms a build number is narrower than one that re-validates the exposed Gateway paths and reviews logs for the period after remediation. Any change to scope after the first test, such as new virtual servers or new appliances, should be priced as a scope change, not absorbed into the retest. DeployOpen does not publish a price list, and a quote follows from the written scope.

What counts as a finding for an auditor or customer?

A finding should state the affected asset, the observed condition, the evidence, the risk rating and the fix. For Citrix, a finding typically rests on evidence such as a build number below the fixed build for the branch in use, a virtual server exposed to an untrusted network, a management interface reachable from a segment that should not reach it, or an end-of-life version such as 12.1 or 13.0 still in service. Both CVE-2025-5349 (CVSS v4.0 base score 8.7) and CVE-2025-5777 (9.3) are scored in the vendor bulletin, and the report should show how each applies to your configuration. Confirm with your auditor or customer whether they want the report in a specific format, and whether they accept a retest report as closure evidence.

How DeployOpen works on this

DeployOpen runs Citrix penetration testing as a fixed-scope engagement, with the NetScaler Gateway, ICA proxy and management interface scope agreed in writing before any work starts. The test covers appliance build status, exposed virtual servers and management access, and the log review that shows whether exploitation was attempted. Findings are documented, fixed with your team and retested.

How we scope

  • We agree in writing which NetScaler appliances, HA pairs and clusters are in scope before testing begins.
  • We inventory which Gateway, ICA Proxy, AAA and CVPN virtual servers are reachable from public networks.
  • We confirm who can reach the NSIP, Cluster Management IP and GSLB site IPs, and document the approved source addresses.

How we build

  • We compare each appliance build against the fixed builds listed in the vendor security bulletin and flag end-of-life versions.
  • We test authentication, session handling and ICA proxy exposure within rules of engagement that name permitted techniques and timing.
  • We review whether external syslog collection is in place so AAA and Gateway events can be checked after an incident.

How we hand over

  • You receive a written report with each finding, its affected appliance, a risk rating, and clear remediation steps.
  • The report includes a per-appliance build table and an inventory of exposed virtual servers, so your team can act on each item.
  • Where logs were reviewed, the report lists the log sources, time windows and any indicators found or ruled out.

How we support

  • After you upgrade appliances, we retest the fixed builds and confirm that active ICA and PCoIP sessions were terminated as the vendor recommends.
  • Ongoing support, upgrades and continuous testing are available as a retainer, which can cover repeat testing after each NetScaler change.
  • Ask us to confirm the retest scope, timing and any retest fees in the written quote before work begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.