Unauthenticated Remote Code Execution via Path Traversal in Citrix ADC and Gateway
CVE-2019-19781 is a directory traversal vulnerability in Citrix Application Delivery Controller (ADC), formerly NetScaler ADC, and Citrix Gateway across release branches 10.5, 11.1, 12.0, 12.1, and 13.0. Certain Citrix SD-WAN WANOP appliances are also affected because they include an ADC component. Crafted HTTP requests can traverse directories and reach vulnerable web functionality, enabling unauthenticated remote arbitrary code execution. Observed exploitation involved malicious template files and code executing under the nobody account beneath the web server process. The vulnerability has been widely exploited for initial access, web-shell deployment, and persistent appliance compromise.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the appliance's web-service security context and can expose sensitive configuration data, encrypted passwords, password hashes, and authentication material. Some stored credentials may be recoverable through password cracking or decryption using a known embedded key; domain administrator credentials have been recovered in investigated incidents. Attackers have installed web shells, cron-based persistence, backdoors, and cryptocurrency miners. Compromised appliances can provide a foothold for internal reconnaissance, credential theft, lateral movement, and subsequent ransomware operations. Root or domain administrator access is not an automatic consequence of the vulnerability and depends on additional weaknesses or accessible credentials. Persistence established before patching can survive installation of the security update.
If you can’t patch tonight, do this now.
Until firmware remediation is complete, apply Citrix's published mitigation procedure in CTX267679 and validate its effectiveness with the vendor's verification utility. Some early ADC 12.1 builds require an intermediate firmware update before the mitigation is effective; verify the applicable build prerequisites. Disconnect unpatched and unmitigated appliances from the Internet and treat previously exposed devices as potentially compromised pending forensic assessment. Consider an authenticated VPN layer in front of publicly accessible gateways, and segment appliances from internal systems. Monitor web access and error logs, suspicious processes running as nobody, unexpected scheduled jobs, malicious templates, and anomalous outbound connections. Compromise scanners are useful but are not exhaustive.
Patch, then assume compromise.
Install fixed firmware on every affected appliance, including standalone, high-availability, and clustered deployments. The historical minimum fixed ADC/Gateway builds are 10.5.70.12, 11.1.63.15, 12.0.63.13, 12.1.55.18, and 13.0.47.24 for their respective branches. Fixed SD-WAN WANOP releases are 10.2.6b and 11.0.3b for applicable appliances, including models 4000-WO, 4100-WO, 5000-WO, and 5100-WO. Check both vulnerability status and evidence of prior compromise; patching alone does not eradicate an existing intrusion. Rebuild or reimage compromised appliances, rotate potentially exposed credentials, and investigate connected systems for lateral movement. Remediate Active Directory compromise where identified.
8 exploits validated by Mallory's analysis. Hidden: 12 rejected by Mallory's analysis as not a working exploit; 4 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
131 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.