Citrix ADC and Gateway (CVE-2019-19781): when mitigation came before the patch

A path traversal in Citrix ADC let attackers run code without logging in. Patches took a month — mitigation steps were the only defence in the meantime.

Publicly disclosed: 17 December 2019

On 17 December 2019 Citrix disclosed a vulnerability in Citrix ADC (NetScaler) and Citrix Gateway. A directory traversal allowed an unauthenticated attacker to execute code on the appliance. Citrix published a configuration mitigation immediately, but permanent fixes were released only in January 2020. When exploit code became public in early January, mass scanning began; many devices without the mitigation were compromised, and some were used as entry points for ransomware.

CVESeverityAffectedFixed in
CVE-2019-19781Critical, CVSS 9.8 (path traversal, remote code execution)Citrix ADC and Gateway 10.5, 11.1, 12.0, 12.1, 13.0; SD-WAN WANOPFixed builds released 19–24 January 2020

Lessons

  1. Apply vendor mitigations immediately when a patch is not yet available — and verify they work.
  2. After patching, check for compromise: attackers had installed backdoors that survived the update on some devices.
  3. Keep remote-access gateways on supported versions and subscribe to vendor advisories.
  4. Log gateway activity to an external system.

The time between disclosure and patch is not a waiting period — it is the most dangerous period.

Sources: Citrix CTX267027, NVD CVE-2019-19781.

Need help with this? Contact CySec for a free consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.