6 mincritical
CVE-2026-88771: NetScaler RCE Exploitation | ThreatLabz
CVE-2026-88771 enables unauthenticated RCE on NetScaler ADC and Gateway via log poisoning and Perl script injection; CISA confirmed active exploitation. Attackers poison NetScaler HTTP access logs with Base64-encoded payloads via User-Agent strings, then trigger execution through forged PPE failure messages. The vulnerable Perl script /netscaler/nsmonuploadderr.pl passes unescaped log data to shell, enabling web shell deployment and FreeBSD implant download from a server shared with StyleSmuggler infrastructure.
Sens:■ ImmediateConf:highAnalyzed:2026-11-05Z.ai
Authors: Sai Nikhil Perla, Rishabh Nihalani, Nataraja Gundale
ActorsStyleSmuggler
Source:Zscaler ThreatLabz
Detection / HunterZ.ai
Immediate Actions
- Inventory all NetScaler appliances and record software versions and internet exposure
- Upgrade to fixed release 14.1-73.46 or 13.1-64.29 or later
- Preserve forensic evidence before updating; snapshot VMs and collect syslog
- Isolate compromised appliances from untrusted networks
Key Takeaways
- CVSS v3.1 score 9.8; exploitation requires no optional features enabled
- Attack uses ${IFS} to avoid spaces and bypass request processing filters
- Web shells named Nx_7508 with .php, .pl, .html extensions deployed across six directories
- 28 source IPs observed in burst exploitation over six to seven minutes
- Download server 209[.]141[.]43[.]95 shared with StyleSmuggler (CVE-2026-75650) infrastructure
Attack Chain
- Initial Access: GET requests to NetScaler paths stage Base64 payload in HTTP access logs via User-Agent
- Execution: Forged pitboss PPE failure messages with shell commands sent to auth endpoints
- Execution: Vulnerable Perl script ns_monuploadd_err.pl processes unescaped PPE records via shell
- Persistence: Web shells Nx_7508.php and Nx_7508.pl created; PHP engine enabled in httpd.conf
- Exfiltration: Appliance fingerprinted; FreeBSD implant kw2-freebsd-x64-s11 downloaded and executed
Affected Systems
- Citrix NetScaler ADC and Gateway 14.1 (pre-14.1-73.46)
- Citrix NetScaler ADC and Gateway 13.1 (pre-13.1-64.29)
- Citrix NetScaler ADC 14.1-FIPS (pre-14.1-73.46 FIPS)
- Citrix NetScaler ADC 13.1-FIPS and 13.1-NDcPP (pre-13.1.37.283)
Vulnerabilities (CVEs)
| CVE | Product | Severity | Description |
|---|---|---|---|
| CVE-2026-88771 | Citrix NetScaler ADC and NetScaler Gateway | Critical | Unauthenticated RCE via command injection in PPE failure record processing |
| CVE-2026-107406 | Citrix NetScaler ADC and NetScaler Gateway | Critical | RCE or DoS affecting SAML service provider or identity provider configurations |
Detection Availability
- Platforms: Zscaler Advanced Threat Protection, Zscaler Private Access AppProtection
Article provides FreeBSD investigation commands; Zscaler deployed protection but no rules published.
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| HTTP access logs contain User-Agent with INDEX: prefix followed by Base64-encoded content (T1027) | NetScaler HTTP access logs | Initial Access | Low — pattern is highly specific to this attack |
| Auth logs contain pitboss PPE failure messages with shell metacharacters or ${IFS} usage (T1059.004) | NetScaler /var/log/ns.log | Execution | Medium — legitimate PPE failures exist but lack shell syntax |
| Web directories contain files matching Nx_7508.{php,pl,html} pattern (T1505.003) | NetScaler filesystem across webroot paths | Persistence | Low — filename is attacker-specific |
Required Log Sources
- NetScaler HTTP access logs
- NetScaler /var/log/ns.log
- NetScaler /var/log/messages
- NetScaler /etc/httpd.conf
- NetScaler technical support bundle
- Outbound firewall logs
Control Gaps
- WAF may not inspect User-Agent for Base64 payloads
- Network IPS may miss appliance-internal log injection
- EDR coverage on FreeBSD appliances is limited
Recommendations
Infrastructure Hardening
- Restrict NetScaler management interface to trusted admin networks only
- Block outbound connections to 209[.]141[.]43[.]95
- Monitor /etc/httpd.conf for unexpected PHP engine enablement
- Deploy ZTNA to eliminate internet-exposed remote access IPs
User Protection
- Hunt for Nx_7508 web shell files across NetScaler web directories
- Review HTTP access logs for INDEX: User-Agent pattern
MITRE ATT&CK Mapping
MITRE ATT&CK Mapping6 techniques
Tactic
Initial Access
Tactic
Execution
Tactic
Persistence
Tactic
Command and Control
Showing defanged values
- cveCVE-2026-107406RCE or DoS affecting SAML service provider or identity provider configurations
- cveCVE-2026-88771Unauthenticated RCE via command injection in PPE failure record processing
- filenameNx_7508.htmlFingerprint file with system info for attacker verification
- filenameNx_7508.phpWeb shell dropped in multiple web directories
- filenameNx_7508.plPerl CGI web shell dropped across six directories
- file_path/etc/httpd.confApache config modified to enable PHP engine
- file_path/netscaler/ns_gui/vpn/Nx_7508.phpWeb shell path created by attacker
- file_path/netscaler/ns_monuploadd_err.plVulnerable Perl script processing PPE failures
- file_path/var/kw2s11Downloaded FreeBSD implant binary path
- file_path/var/netscaler/gui/admin_ui/apex/Nx_7508.phpWeb shell path created by attacker
- file_path/var/netscaler/gui/vpn/Nx_7508.phpWeb shell path created by attacker
- file_path/var/netscaler/logon/LogonPoint/Nx_7508.phpWeb shell path created by attacker
- file_path/var/vpn/bookmark/Nx_7508.phpWeb shell path created by attacker
- file_path/var/vpn/theme/Nx_7508.phpWeb shell path created by attacker
- ip100[.]38[.]125[.]66Source IP in burst exploitation attempts
- ip102[.]213[.]132[.]123Source IP in burst exploitation attempts
- ip102[.]222[.]146[.]45Source IP in burst exploitation attempts
- ip103[.]181[.]212[.]245Source IP in burst exploitation attempts
- ip103[.]197[.]249[.]161Source IP in burst exploitation attempts
- ip103[.]83[.]146[.]100Source IP in burst exploitation attempts
- ip111[.]92[.]128[.]89Source IP in burst exploitation attempts
- ip114[.]145[.]49[.]215Source IP in burst exploitation attempts
- ip120[.]244[.]160[.]182Source IP in burst exploitation attempts
- ip125[.]62[.]88[.]26Source IP in burst exploitation attempts
- ip130[.]12[.]182[.]7Source IP in burst exploitation attempts
- ip154[.]183[.]158[.]198Source IP in burst exploitation attempts
- ip154[.]241[.]254[.]9Source IP in burst exploitation attempts
- ip174[.]60[.]63[.]37Source IP in burst exploitation attempts
- ip177[.]52[.]203[.]23Source IP in burst exploitation attempts
- ip183[.]63[.]88[.]227Source IP in burst exploitation attempts
- ip190[.]117[.]56[.]56Source IP in burst exploitation attempts
- ip195[.]62[.]37[.]119Source IP in burst exploitation attempts
- ip207[.]48[.]184[.]10Source IP in burst exploitation attempts
- ip209[.]141[.]43[.]95FreeBSD implant download server shared with StyleSmuggler
- ip45[.]153[.]212[.]101Source IP in burst exploitation attempts
- ip46[.]233[.]40[.]20Source IP in burst exploitation attempts
- ip46[.]236[.]167[.]143Source IP in burst exploitation attempts
- ip46[.]33[.]33[.]95Source IP in burst exploitation attempts
- ip49[.]150[.]197[.]119Source IP in burst exploitation attempts
- ip78[.]190[.]152[.]64Source IP in burst exploitation attempts
- ip81[.]10[.]79[.]197Source IP in burst exploitation attempts
- ip82[.]167[.]14[.]7Source IP in burst exploitation attempts
- ip95[.]105[.]74[.]172Source IP in burst exploitation attempts
- urlhxxp://209[.]141[.]43[.]95/files/kw2-freebsd-x64-s11Rust-based FreeBSD x64 implant download path