Skip to content
Fri 20 Nov 2026 Toronto Sign in
Privacy & Security

Patching Citrix NetScaler Won’t Remove the Web Shells Already Inside

CVE-2026-88771 and -88772 were exploited for weeks before Citrix's Sept. 27 fix. Mandiant's findings show what attackers planted, and why a firmware update leaves it in place.

Abstract illustration: a bright new top layer over older layers that still hold glowing implants
Illustration: prompt/power

In August 2023, the Dutch security firm Fox-IT counted roughly 2,000 Citrix NetScaler appliances carrying web shells from a mass-exploitation campaign. About 69 percent of them were no longer vulnerable to the bug that let attackers in. Their owners had patched. The backdoors stayed.

Updated Oct. 19, 2026: A third exploited NetScaler flaw, CVE-2026-88779, joined CISA’s catalog on Oct. 4 and needs newer builds than the Sept. 27 fixes. On Oct. 19, Rapid7 documented attackers chaining it with CVE-2026-88771 to run code as root, and warned that “patching alone is insufficient.”

Defenders are about to relearn that lesson. Two new remote-code-execution flaws in NetScaler ADC and NetScaler Gateway, CVE-2026-88771 and CVE-2026-88772, were exploited for weeks before Citrix shipped a fix, and the guidance from the people investigating them is unambiguous: updating closes the door, but it doesn’t remove anyone already inside.

What happened

Citrix released patches on Sunday, Sept. 27, for eight vulnerabilities numbered CVE-2026-88771 through -88778, and confirmed that “exploits of CVE-2026-88771 and CVE-2026-88772 on unmitigated NetScaler deployments have been observed,” Help Net Security reported. Both exploited flaws carry a CVSS score of 9.5, according to Tenable. The first is an input-validation bug that works against default configurations without authentication; the second is a memory overflow reachable when DTLS is enabled, which is the default on VPN virtual servers, per The Hacker News. The Sept. 27 fixed builds are 14.1-73.37 and 13.1-64.23, plus FIPS and NDcPP variants; a third exploited flaw since needs later builds (see update below). Versions 12.1 and 13.0 are end-of-life and get nothing.

The same day, CISA added both CVEs to its Known Exploited Vulnerabilities catalog and ordered federal civilian agencies to patch by Wednesday, Sept. 30, and to run forensic triage for signs of compromise. The Dutch National Cyber Security Center, whose warnings to IT suppliers first surfaced on Reddit on Friday, Sept. 25, said the first flaw “gives attackers full control of the gateway, providing direct access to the internal corporate network behind it.”

Nobody has formally named the attackers. Mandiant and Google Threat Intelligence Group, in a Sept. 29 technical write-up, traced the campaign to at least early September and confirmed victims in government, financial services, technology, education and legal and professional services across North America and Europe, without attribution. Security researcher Kevin Beaumont’s read, quoted by Help Net Security, is that the attackers were “probably nation state aligned as well resourced, espionage rather than teens.” Treat that as informed speculation, not a finding.

Why a patch isn’t a cleanup

Concentric rectangular frames, the outermost freshly outlined in green, with a glowing blue diamond implant still lodged near the center and sending thin tendrils outward through the inner frames.
Illustration: prompt/power

Mandiant’s report describes what the intruders left behind. A PHP web shell it calls WHIPSHOT answers requests with an HTTP 404 while tunnelling traffic in the response body. A Python tunneller, SLAPSHOT, bridges into the internal network. The attackers edited the appliance’s web-server configuration so that files ending in .deb or .sig would execute as PHP, disguised requests as fetches of .ico icon files, and set the setuid bit on /bin/sh for root persistence across reboots. None of that is undone by installing a new firmware build.

There’s also a clock problem. Beaumont pointed out, in Help Net Security’s account, that Citrix’s detection script in NetScaler Console only works if the device’s logs haven’t rotated since the attack, and with activity going back weeks, they probably have.

What’s happened since: CVE-2026-88779 and a root chain

The patch-and-move-on window closed again on Oct. 4, when CISA added a third NetScaler bug, CVE-2026-88779, to its exploited-vulnerabilities catalog and gave federal agencies until Oct. 7 to fix it and check for compromise, Help Net Security reported. Citrix describes a memory overflow that can crash appliances using SAML authentication with Gateway or AAA, and says it “has observed targeted attacks on unmitigated NetScaler deployments.” The fixed builds are 14.1-73.41 and 13.1-64.28 or later, plus 14.1-73.41 FIPS and 13.1-37.282 FIPS and NDcPP, according to Citrix’s bulletin as summarized by Help Net Security. An appliance updated on Sept. 27 is not covered.

Citrix calls it an availability problem. Rapid7’s Oct. 19 analysis of one compromised appliance shows why that undersells it. The attacker planted command text in an authentication username through CVE-2026-88771, and that text “caused or immediately preceded repeated nsaaad crashes and a Pitboss reboot.” After the reboot, the call-home crash handler ran the retained payload as root. Persistence included cron entries, rc.netscaler edits, PHP web shells behind CSS-looking Apache aliases, a setuid /bin/sh and logic that rode high-availability sync to the partner box.

Add these to the hunt below: /nsconfig/.slap/, /nsconfig/.relay/ and /flash/.nsvm/, nsaaad crashes followed by Pitboss reboots, ns_monuploadd_err.pl execution records, and the domain v5v.in. Check both nodes of an HA pair.

Hunt, don’t just patch

Drawn from Mandiant’s guidance and the Dutch NCSC’s advice as reported by Help Net Security:

  1. Preserve evidence before you upgrade. NCSC-NL advises backing up device memory and log files going back at least a month before installing updates.
  2. Read the web-server config. Look in /etc/httpd.conf for unexpected PHP handler, php_flag or AliasMatch lines, the mechanism Mandiant found mapping .deb, .sig and .ico paths to PHP.
  3. Check the VPN plugin folders. Files under /var/netscaler/gui/vpn/scripts/ that are actually PHP or plain text, or contain eval or base64_decode, are suspect.
  4. Look for the tunnel’s footprints. Files named /tmp/.uxdport or /tmp/.uxdlock, and Python processes referencing them, match SLAPSHOT.
  5. Check /bin/sh. A setuid bit (-rwsr-xr-x) is a red flag.
  6. Mine access logs and your SIEM. Mandiant flags 404 responses for /vpn/media/ icons that are oddly large; Beaumont suggests searching for pitboss log lines followed by IFS or b64decode.
  7. Assume credentials are gone. After patching, Mandiant recommends rotating appliance secrets plus LDAP, RADIUS and SSH keys, killing active admin, VPN and ICA sessions, and restricting outbound traffic. Blocking UDP/443 or disabling DTLS cuts off the second flaw’s delivery path where that’s workable.

Our read on why this is the enterprise story of the week: a NetScaler Gateway is the box that decides who gets onto the corporate network, and Tenable counted 13 NetScaler entries in CISA’s exploited-vulnerabilities catalog as of Sept. 27. Fox-IT’s 2023 numbers are the uncomfortable precedent. Most of those 2,000 backdoored machines had been patched, by owners who presumably considered the job finished.

Sources

// How we reported this

Researched and drafted with AI tools, fact-checked against primary sources and approved by a human editor before publishing. Prices and dates are as of publication. Our standards →

Sources
  1. blog.fox-it.com — were no longer vulnerable
  2. cisa.gov — joined CISA's catalog on Oct. 4
  3. rapid7.com — Rapid7 documented
  4. helpnetsecurity.com — Help Net Security reported
  5. tenable.com — according to Tenable
  6. thehackernews.com — per The Hacker News
Columnist, Security & Privacy Oman Hassan

Oman Hassan covers cybersecurity and privacy for prompt/power: breaches, exploits, surveillance and the policy that follows them. He assumes the password is "password" until proven otherwise.

All stories by Oman →

Latest from prompt/power

  1. How to read an IPO prospectus in 10 minutes, using Anthropic’s as the exampleNov 20
  2. ChatGPT Pro, Claude Max or Google AI Ultra? What CA$140 a month buysNov 20
  3. Anthropic’s first day, studied: who made money, what it left on the table, and what ANT is now worthNov 20
  4. Google’s Gemini health coach costs CA$12.99 a month, or nothing with AI Pro. What it does and doesn’t doNov 20
  5. Broadcom’s AI chip sales now outstrip its entire business from a year ago. What to watch on Dec. 9Nov 19

Leave a Reply

Your email address will not be published. Required fields are marked *