CVE-2019-12991 — Citrix SD-WAN and NetScaler Command Injection Vulnerability

CVE-2019-12991

Citrix SD-WAN / NetScaler SD-WAN — low-privileged command injection in the appliance management interface

What is Citrix SD-WAN?

Citrix SD-WAN (and the related NetScaler SD-WAN product line) is a software-defined WAN appliance enterprises use to manage and optimize connectivity between branch offices, data centers, and cloud environments. Because it sits at the network edge and its management plane offers configuration control over routing and traffic policy, code execution on the appliance can give an attacker a durable foothold spanning an organization's entire wide-area network.

Overview

CVE-2019-12991 is a command injection vulnerability in Citrix SD-WAN and NetScaler SD-WAN appliance management interfaces. An attacker who holds at least low-level authenticated access can inject and execute arbitrary operating-system commands through a vulnerable input in the management interface, escalating from limited application access to command execution on the underlying appliance OS.

Technical Details

The flaw (CWE-78, OS command injection) exists because a management-interface input field is passed to a system shell command without adequate sanitization of shell metacharacters. An authenticated attacker who can reach the vulnerable field can break out of the intended command context and inject arbitrary commands that the appliance executes with the privileges of the management service — commonly elevated, since network appliance management daemons frequently run with broad system access to reconfigure networking and routing. The CVSS vector's Low privileges requirement reflects that some baseline authenticated access — not full administrative rights — is sufficient to reach the vulnerable functionality.

Discovery

Citrix identified and disclosed this vulnerability, shipping patched SD-WAN and NetScaler SD-WAN firmware in its July 2019 security bulletin together with the related SQL injection vulnerability CVE-2019-12989.

Exploitation Context

This vulnerability's CISA KEV listing confirms real-world exploitation. It is commonly chained with other lower-privilege access vectors — including credential theft, default/weak credentials, or the companion SQL injection bug — to escalate from limited access into full command execution on the appliance, consistent with attacker interest in compromising network edge infrastructure for lateral movement and persistence.

Remediation

  1. Apply the patched Citrix SD-WAN / NetScaler SD-WAN firmware referenced in Citrix's July 2019 security bulletin.
  2. Restrict the management interface to a dedicated, access-controlled management network rather than any general user network.
  3. Enforce strong, unique credentials and MFA for all accounts with access to the appliance management interface, since this bug requires only low privileges to exploit.
  4. Apply defense-in-depth network segmentation so appliance compromise does not automatically grant broader network access.
  5. Review appliance command/audit logs for unexpected shell command execution or configuration changes predating patch application.

Key Details

PropertyValue
CVE ID CVE-2019-12991
Vendor / Product Citrix — SD-WAN and NetScaler
NVD Published2019-07-16
NVD Last Modified2025-11-06
CVSS 3.1 Score8.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-78 find similar ↗
CISA KEV Added2022-03-25
CISA KEV Deadline2022-04-15
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-04-15. Apply updates per vendor instructions.

Timeline

DateEvent
2019-07-16CVE published; Citrix patches SD-WAN and NetScaler SD-WAN appliances
2022-03-25Added to CISA Known Exploited Vulnerabilities catalog
2022-04-15CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2019-12991 Vulnerability Database
CISA KEV Catalog Entry US Government