Two Critical Citrix Zero-Days Under Active Attack: Patch Now, Then Hunt for Compromise


Some vulnerabilities are bad. This one is the kind that keeps security teams awake: two critical remote code execution flaws in Citrix NetScaler, exploited in the wild as zero-days before any patch existed. Citrix confirmed it. CISA confirmed exploitation is happening globally. Both CVEs are now in CISA’s Known Exploited Vulnerabilities catalog. If your organization runs NetScaler, treat this as a “drop everything” moment.

What Broke

Citrix NetScaler ADC and NetScaler Gateway are the boxes that sit at the edge of corporate networks — handling load balancing, VPN access and remote logins for thousands of companies. Two flaws, both scoring CVSS 9.5 (critical):

  • CVE-2026-88771 — improper input validation leading to unauthenticated remote code execution. No login needed. Works against the default configuration. Citrix rates the attack complexity as low.
  • CVE-2026-88772 — a memory overflow in the packet engine that can also lead to RCE (or crash the box). It needs DTLS enabled, but DTLS is on by default for VPN virtual servers.

The Sneaky Part: Attack Through the Logs

Security researchers at watchTowr dug into the root cause of CVE-2026-88771, and it’s devious. The flaw isn’t in the login page itself — it’s in a NetScaler diagnostic Perl script (ns_monuploadd_err.pl) that parses the appliance’s own logs. The attacker submits a crafted value in a pre-auth login field (or even the User-Agent header); the login endpoint writes it to the log verbatim; later, the maintenance script extracts what it thinks is a crash-dump filename and drops it unvalidated into a shell command. Shell metacharacters in that value = arbitrary commands running as root.

Worse: execution is delayed. The script runs on the appliance’s own schedule — up to roughly 24 hours later. An attack attempt in the logs and the actual compromise are two separate events, which makes detection harder.

How Big Is the Exposure?

Over 23,000 internet-facing NetScaler systems are visible online, according to Shadowserver Foundation data. Every unpatched one is a potential entry point — and because these boxes sit at the network edge with VPN access, a compromise there often means a foothold straight into the internal network.

What Defenders Must Do — Today

  1. Patch immediately. Fixed releases: NetScaler ADC/Gateway 14.1-73.37 and later, 13.1-64.23 and later (plus matching FIPS/NDcPP builds). Don’t wait for a maintenance window.
  2. Patching is not proof you’re clean. These were exploited as zero-days before fixes existed. An appliance patched today could have been compromised weeks ago.
  3. Hunt for compromise. Review NetScaler and security logs for suspicious User-Agent values and forged PPE failure messages. Look for web shells, unexpected outbound connections and new admin accounts.
  4. If compromise is suspected: isolate the appliance, preserve logs before changing anything (evidence dies fast), review administrative and outbound connections, reset credentials, invalidate sessions, and replace potentially exposed certificates or keys.
  5. Reduce exposure long-term. Management interfaces should never face the open internet — restrict them to a dedicated management segment behind firewall rules.

The lesson, as always: the most dangerous bugs aren’t the ones with patches available — they’re the ones attackers found first. Patch fast, then verify you weren’t already hit.

Comments

Popular Posts